Is there a way of deleting all code lines beginning with debug.print across all modules using VBA? (7 Viewers)

I'm sure it could be used in code similar to yours though,
Yes, I use regex in my apps too. But only for simple string patterns. Something like multi line codes is out of my capacity. That's why I went for loops.
 
Thanks for your help. :rolleyes:
Sorry about being facetious - I actually will help when I can get to my PC so I can test any code I suggest. Currently existing on my Andoid tablet whilst on holiday. Another week or so before we head for home.
 

Users who are viewing this thread

Back
Top Bottom