View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Pman Pman is offline
external usenet poster
 
Posts: 36
Default Open all workbooks inside a folder, run macro and save them?

Hi,

I have a folder that has more than 400 excel files, and all of them contain
unformatted data. I have a macro for formatting this data that runs as
required. The problem is I need to open each file individually and run the
macro to format the data in each file.

So is there a way I can open all the workbooks inside the folder, run the
macro that I have already for all of them, and then save the workbook? the
data is contained in Sheet 1 in all the workbooks.

Thanks :)