I have similar macros in both Word and Excel. Their purpose is to open the folder the currently active document is in. We've recently switched from a Desktop to a Laptop, so I'm going through and testing things, and I've found that this one doesn't work correctly now in Word, but works fine in Excel. For Excel it opens the folder the WB is in, but for Word it opens the "My Documents" folder. I'm stumped as to why. Any ideas?
BTW, if I Debug.print ActiveDocument.Path it prints out
"H:\How to\Excel\Workbooks, Worksheets, Ranges", but the OpenFolder macro opens "My Documents"
Please Login or Register to view this content.
Please Login or Register to view this content.
Bookmarks