vba current working directory code example
Example: excel vba current folder
' Current folder
MsgBox ActiveWorkbook.Path ' needs to be saved before
MsgBox CurDir ' default
' Current folder
MsgBox ActiveWorkbook.Path ' needs to be saved before
MsgBox CurDir ' default