How to I create a macro that opens every excel file in a

mrissi

New Member
Joined
May 18, 2003
Messages
17
directory then runs a nested macro, closes the file and opens the next file in the same directory.

I have the sub macro written and I have the close and save done; But I can't figure out how to open each file.

Any help would be appreciated!

Thanks! :confused:
 
mrissi --
"Must be nice to live in Southern California right now, Oakland, The Ducks and the Angels all in the respective finals.... I, being from Philadelphia, have not expirienced the joy of winning... anything.... at all... in the last 23 years...."

FYI, Oakland is in northern California. As I recall, the 76ers won it all in 1983, 20 years ago and got to the Finals 2 years ago. I also remember the Broad Street Bullies from the mid '70's.

Y'know what Nate, it's hard to be a Sharks fan...they have a way of snatching defeat from the jaws of victory (pun intended). I follow the Leafs; I grew up across Lake Ontario from Toronto.

And that's the sports wrap-up from the California news desk. Anyone see an Excel forum around here?
 
Upvote 0

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,221,691
Messages
6,161,322
Members
451,696
Latest member
Senthil Murugan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top