WILLIAM DEMUTH
New Member
- Joined
- Jul 19, 2010
- Messages
- 16
Hello
I am having a problem with Excel involving current directories.
To diagnose my issue I created a basic macro that shows my path.
My concern is after I use a different macro to save to a different drive, when I run WhereAmI again, it seems to give the last directory the file was in, rather than the one it currently is in.
What am I missing? I have no doubt it should be obvious to me, but it has me stumped.
I am having a problem with Excel involving current directories.
To diagnose my issue I created a basic macro that shows my path.
Code:
Sub WhereAmI()
MsgBox CurDir
End Sub
My concern is after I use a different macro to save to a different drive, when I run WhereAmI again, it seems to give the last directory the file was in, rather than the one it currently is in.
What am I missing? I have no doubt it should be obvious to me, but it has me stumped.