G
Guest
I have a series of files that are maintained by several different users.
When they are finished updating, they click a button that "uploads" (copies &
pastes) their data into a master file. Here is the problem: If the user
opens their file from Windows Explorer (vs. opening from within Excel), they
get an error message when they try to perform the upload process that says
the [master file] cannot be found. On the other hand, if they open their
individual file within Excel (vs. thru Windows Explorer), they get no error
message when they perform the upload. It almost seems like I need to add
code that clearly identifies the file type as being "Excel" based?? Anyway,
here is the code that tries to open the master file:
Dim MasterFile
MasterFile = Master Tracker Q108.xls
ChDir "R:\Sales\Shared\NEW ITEM TRACKING\Q108\"
Workbooks.Open Filename:=MasterFile, WriteResPassword:="JDAY"
When they are finished updating, they click a button that "uploads" (copies &
pastes) their data into a master file. Here is the problem: If the user
opens their file from Windows Explorer (vs. opening from within Excel), they
get an error message when they try to perform the upload process that says
the [master file] cannot be found. On the other hand, if they open their
individual file within Excel (vs. thru Windows Explorer), they get no error
message when they perform the upload. It almost seems like I need to add
code that clearly identifies the file type as being "Excel" based?? Anyway,
here is the code that tries to open the master file:
Dim MasterFile
MasterFile = Master Tracker Q108.xls
ChDir "R:\Sales\Shared\NEW ITEM TRACKING\Q108\"
Workbooks.Open Filename:=MasterFile, WriteResPassword:="JDAY"