Cheesecube
04-23-2020, 07:42 PM
Hi, I want to get the working directory when coding in Outlook VBA.
I understand that for Excel, there is ThisWorkbook.Path or ActiveWorkbook.Path
For Word there is ThisDocument.Path and ActiveDocument.Path
But what about Outlook? My code isn't running from a file.
- How do you get the working directory in Outlook?
- Where does this working directory point to by default?
- Does this directory ever change depending on how you use Outlook?
I understand that for Excel, there is ThisWorkbook.Path or ActiveWorkbook.Path
For Word there is ThisDocument.Path and ActiveDocument.Path
But what about Outlook? My code isn't running from a file.
- How do you get the working directory in Outlook?
- Where does this working directory point to by default?
- Does this directory ever change depending on how you use Outlook?