Track Changes check in a macro?
I have a macro that cleans up a Word document, doing things like changing line breaks to paragraph marks, changing curly quotes to regular ones, changing double hyphens to an em-dash, and the like. If the document comes in with Track Changes on, and I execute the macro without turning that function off, it goes into an endless loop and crashes Word.
Is there a way to have the macro begin with a command to check if Track Changes is on and, if yes, to turn it off?
Thanks for any help.
|