Use VBA to search for a string in another file's macros

cjindenver

New Member
Joined
Jun 3, 2014
Messages
4
Hello. I have several dozen Excel reports that I manage. I am preparing to leave my company and want to leave them in a good place after I leave. I know some, but very few, of my macros have my email address hard coded instead of just referencing a cell where the value can be updated. Is there a way to use VBA in one workbook to search for a string in the macros of other workbooks? Maybe this questions already exists, but I can't find it if it does. Thanks in advance!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi,

a way is to use oledump.py from Didier Stevens on a Linux PC

Code:
oledump.py -s a -v your.xlsm | grep youremail@isp.com

Oledump accept only one file, so you need a litte bash-script to pass all files of a directory

regards
 
Upvote 0

Forum statistics

Threads
1,214,981
Messages
6,122,566
Members
449,089
Latest member
Motoracer88

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