A
Alan
I have an Excel Workbook that is saved in a directory. It contains
a VBA macro with the following code:
Dim StartDir As String
StartDir = CurDir
MsgBox (StartDir)
.. . .
However, it says that the current directory is another one, not
the one in which the Workbook is saved.
Why would it do this?
I am new to VBA. Thanks, Alan
a VBA macro with the following code:
Dim StartDir As String
StartDir = CurDir
MsgBox (StartDir)
.. . .
However, it says that the current directory is another one, not
the one in which the Workbook is saved.
Why would it do this?
I am new to VBA. Thanks, Alan