View Single Post
 
Old 01-05-2023, 09:44 AM
pjs15 pjs15 is offline Windows 10 Office 2019
Novice
 
Join Date: Feb 2020
Posts: 7
pjs15 is on a distinguished road
Default 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.
Reply With Quote