Sorry, I should have given more details. Here's what's happening;
I put the macro in Normal, in Module 1.
I open the Word document, go to Tools>Macro>Macros>then click on the macro and hit Run. Nothing happens on this document. I added a line to the macro:
When I rerun the macro, the message box pops up, but no change happens on the document.
Do I need to put the macro directly into each document? I was thinking Normal worked kind of like the PERSONAL.xls, where I'm used to storing my macros.
I've attached another example. In this one, the macro works on the line beginning with " 'Makes every number " but doesn't work on the line beginning with " 'Remove Subtotals " or any of the lines further down. Visually, it appears that the apostrophe differs from the first one, but I don't know how to determine that for sure. A lot of these are copied from the web and pasted into Word, so maybe I've got a different character than an apostrophe in some. If that's the case, can we adapt this to handle the different variations?
Thanks for your help on this.
John
Bookmarks