PDA

View Full Version : Copy files



maytey
09-06-2008, 09:12 AM
Currently I need a function where I can copy back all the workbooks from the different folders into a main folder.
As I need to copy back 160 workbooks, it will save me a lot of time if I can specify the folder path names and execute this function

Thanks!

mdmackillop
09-06-2008, 11:40 AM
Have a look at FileCopy in VBA Help.
Do you want to copy all files in the folders? Do you maintain a list of files to be copied? We need some more information.

Norie
09-06-2008, 12:47 PM
You might also want to look at Name if you actually want to just move the workbooks not copy them.