How to Find & Replace a particular string (an email address) found within all excel files within one folder

thankyou

Board Regular
Joined
Aug 13, 2008
Messages
189
Hi. I'm wondering if anyone can provide a quick way to do a find & replace one email address that's in a few hundred excel files that are all within a single folder. Thanks very much for your solution and your time.
 
Thanks Z/G. No, maybe it was my line break:

It's the line you mentioned Zack, but only the 1st instance of the word wbOpen on that line you cited correctly. I meant it was highlighting in blue the word "wbOpen" (no quotes) of that line when I hit F5 (run macro), giving that compile error (and I still get it if I run GTO's version on even a different folder, ie "Compile error: only comments may appear..." thx, Ben
 
Upvote 0

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