J
Joy
in our macros, we open csv file stored in Temp directory, get data in it and
map the data to MS project file.
However, each time after this, when user "Save As" the file, the directory
is changed to "Temp". I guess this is because when we read csv file, we open
the file (FileOpen name:=GetTempDir & "\Export.csv",
FormatID:="MSProject.CSV", Merge:=2, map:="Export Short Map")
I know how to get activeproject's name and path. my question is can I set
directory, so after the operation, the directory will be changed back to the
directory the MS project file is in, not the Temp
thanks
map the data to MS project file.
However, each time after this, when user "Save As" the file, the directory
is changed to "Temp". I guess this is because when we read csv file, we open
the file (FileOpen name:=GetTempDir & "\Export.csv",
FormatID:="MSProject.CSV", Merge:=2, map:="Export Short Map")
I know how to get activeproject's name and path. my question is can I set
directory, so after the operation, the directory will be changed back to the
directory the MS project file is in, not the Temp
thanks