View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Sudhir Amin[_2_] Sudhir Amin[_2_] is offline
external usenet poster
 
Posts: 6
Default Renaming a worksheet in excel

I have about 10 different excel files in a folder. Each file has 1 worksheet
whose data i want to pull in different sheets in 1 consolidated excel sheet.

I do know how to pull the data from different sheets by recording a macro.
What i would like to know is how do i rename the 10 different sheets of the
consolidated excel sheet so that it matches the names of the different excel
files in the folder.