Yesterday I had several worksheets open and I wrote a macro.
I saved it in the wrong one and can't remember where I put it.
How do I run a search that will tell me which macros are in which worksheets.
Even better could I retrieve the code for all macros I've ever written (in a group of worksheets) so I can save it in a text file and not lose it again
Thank you in advance, any help is appreciated
That would be a mammoth task, quicker to re-write the macro I would think.
Take a look at your recent files list, or use windows search for documents opened in the last week.
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
Thankyou for the quick reply.
For this one I will just re-write it. ( I do have other lost macros though)
But could you not just write a macro that will systematically open an excel document, search for modules, record their contents, close the workbook, then open the next one?
I wouldn't know how to do this though
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks