nmanager Posted March 5, 2008 Report Share Posted March 5, 2008 How do we search all macros to find text or variables within the macros? I have a main macro that calls out 35 sub macros in sequence. Now I need to find some variables to see which macro(s) use them and would also like to search for specific text. SEARCH appears to look at the Macro Nickname only, not in the text of the macro. Opening each macro and searching takes too long. Even if each macro was fully documented, it would still take too long to open and search every macro. The macros are all in the same file and show up in the main window. Thanks for any help you can offer. Quote Link to comment Share on other sites More sharing options...
stan Posted March 5, 2008 Report Share Posted March 5, 2008 Here is what I would suggest. From the Macro Express - Explorer window click on File | Export | Output Macro Information. Save all of your macro details (you can choose which information to save) to a .txt file. Open the .txt file in Notepad, Word or similar and do your searches. Quote Link to comment Share on other sites More sharing options...
nmanager Posted March 5, 2008 Author Report Share Posted March 5, 2008 Stan, Thanks for the help. Just did the export. Not sure if I can use the file, it is very messy. May not be to someone used to working with data dumps, but it made my head hurt. I use the scripting editor. Any other suggestions? Quote Link to comment Share on other sites More sharing options...
Cory Posted March 6, 2008 Report Share Posted March 6, 2008 Howdy Stan. I don't think I've crossed swords with you yet but I just want ot thank you for a suggestion that rocks! I saw nmanagers post and although I don't change the names of my subs that often it has happened and I didn't have a convenient cure. Until now that is! Thanks! Nmanager: Stan's suggestion worked pretty well for me. All you need to do is search for the string of the macro you're calling and it will take you right there. The gobbly gook you see is exactly what you will find in the direct editor and a macro run will look like <MACRUN2:My macro name>. So just look up to the name line above it and there's your macro. Quote Link to comment Share on other sites More sharing options...
nmanager Posted March 6, 2008 Author Report Share Posted March 6, 2008 Stan, After a night of sleep my eyes are not a blurred as they were yesterday. Your idea not only helped with my problem, but has lead to a better understanding of how ME works. The direct editor is not as bad as it looks! Thanks again for the help. Quote Link to comment Share on other sites More sharing options...
blopib Posted March 7, 2008 Report Share Posted March 7, 2008 Very interesting tip Stan, thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.