scottleger4
New Member
- Joined
- Oct 3, 2016
- Messages
- 41
- Office Version
- 365
- Platform
- Windows
Hello all,
I'm trying to do something that in my mind is relatively simple, but I'm not sure how to go about it and my googling hasn't helped much, other than it sounds like this needs to originate in Outlook. Each day I get a specific email with a specific subject that a data file has been updated. I'm looking for a way to open a specific excel file once that email hits my inbox. Once I can get the Excel file open, I think I can handle the VBA in Excel from there for the next steps. Something like this in outlook....
Public Sub UpdateDOS
'when email arrives with subject "DOS Pivot Updated"
Workbooks.Open Filename:= _
"C:\My DOS file.xlsm"
End Sub
Thanks in advance!
I'm trying to do something that in my mind is relatively simple, but I'm not sure how to go about it and my googling hasn't helped much, other than it sounds like this needs to originate in Outlook. Each day I get a specific email with a specific subject that a data file has been updated. I'm looking for a way to open a specific excel file once that email hits my inbox. Once I can get the Excel file open, I think I can handle the VBA in Excel from there for the next steps. Something like this in outlook....
Public Sub UpdateDOS
'when email arrives with subject "DOS Pivot Updated"
Workbooks.Open Filename:= _
"C:\My DOS file.xlsm"
End Sub
Thanks in advance!