Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Save - Properties 1

Status
Not open for further replies.

dunkyn

Technical User
Apr 30, 2001
194
US
Any tips on how to save an Excel file and not let the user know the file name or where the file was saved?

I am thinking about saving a file on the network in a hidden folder, but I don't want the file to be accessible by the File menu.

TIA
 
Any files saved thru code do not come up on the recent files list or the documents menu on the start menu.

So it is just

Activeworkbook.saveas (mypath)

Of course, you would have to close the file immediately, or they can saveas and find the path. ( I tried Chdir and it didn't work.)
Whilst the file is open, it is very easy to find out where it is.
 
If you can not close the file after the save, you could do the following:

Activeworkbook.saveas (mypath)
Activeworkbook.saveas (mypath2)

where mypath2 is a directory on the local computer, perhaps in Windows temp directory.
 
Great ideas. Thanks for the help.

Now that will throw them off track. I like it!

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top