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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rename and save file

Status
Not open for further replies.

danvzla

Programmer
Jan 16, 2004
28
FI
Hi

Is there a way of taking an excel file, change the name and save on an specific folder with VBA. Would be great if I can drag and drop the file to a window in the form and then do all the rename and save process.

Thanks

Daniel
 
check the help files for "name" and "filecopy". Those will get the job done for you in the code.

The drag and drop bit will be a lot more work to set up, but it can be done (I think). I haven't done this kind of thing, but you should be able to do it with a couple of tree controls. But, I do think it will be a bunch of work. On the other hand, you might be able to download a sample database from somewhere with this all set up for you.

Jeremy

==
Jeremy Wallace
AlphaBet City Dataworks
Access Databases for Non-Profit Organizations

Please post in the appropriate forum with a descriptive subject; code and SQL, if referenced; and expected results. See thread181-473997 for more pointers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top