View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mike Taylor Mike Taylor is offline
external usenet poster
 
Posts: 17
Default Copy worksheet from multiple files in one DIR to another DIR & rename

Can anyone share idea(s) for code that will programatically loop
through all the .xls files in a directory and copy the second sheet
all the .xls files in the "C:\My Documents\Data\month01" directory to
a workbook named "tot01.xls" [path is "C:\My
Documents\Data\Consol\tot01.xls"] and then name each sheet copied
using the value in cell C2 of each of the sheets after it is copied?
Any ideas are greatly appreciated.