Word VBA TrackRevisions with comment pane

190 Views Asked by At

I understand there have been issues since Microsoft changed the way comments are handled (this is MS Word). I have a proofreading macro that includes the line "If ActiveDocument.TrackRevisions = False" at the very start.

I get the following error message: Run-time error 4605. The TrackRevisions method or property is not available because comment card is selected in pane.

It looks like the error appears if the comment is actually open, i.e. selected.

Is there a way to 'de-select' the comment without moving the cursor back into the document?

Many thanks.

0

There are 0 best solutions below