Poll

Aboot this blog

This blog is a cross between a scrapbook and a diary. I hope you find something here of interest. If you’d like to keep up with things as I see them then you can subscribe to my news feed by clicking the icon below:

feed-icon-28x28.png

DISCLAIMER

Please note that any reviews/recommendations are based solely on my own experience and does not constitute a guarantee that you will have the same experience. Please do your own research before parting with any money - the risk is all yours!

The Briticiser

Looking for my world famous US to GB English spelling converter?

THE “BRITICIZSER”

www.us2uk.eu

IT’S HERE

Tags

  Flatpress     Utilities     Plausible Lies     Excel     Equipment     Browsers     PHP     Word     Family     Hardware     Acrobat     Bits and Bobs     VBA     Odds and Sods     Reviews     Overcoming Disabilities     Education     News     Windows     Software     Tutorials     Bookmarks      

Find me on Facebook

facebook-icon-28x28.pngVisit my Briticiser Facebook Page to keep up with things here - lots of reviews of stuff I’ve really used and also all kinds of helpful computer tips with a heavy bias towards SAVING YOU TIME.

How to detect if tracked changes are enabled when opening a Word document

Permalink: http://paul.us2uk.eu/?x=entry:entry140521-031442

Unless you’re familiar with Word documents which have tracked changes enabled it can be a bit confusing when you start editing such a document and everything you type is in red and underlined. Unless you know why this is happening you might waste a lot of time re-formatting everything you type.

Fortunately there IS a way to automatically detect if the document you are opening has tracked changes enabled, and pop up a box asking if you’d like to turn this feature off. Here it is.

In Word press Alt+F11 to open the Visual Basic Editor then add the following code to Normal >Microsoft Word Objects >ThisDocument.

Private Sub Document_Open()

Dim TurnOffTrackedChanges As Variant

If ActiveDocument.TrackRevisions = True Then

TurnOffTrackedChanges = MsgBox("This document has tracked changes enabled." & vbCrLf & vbCrLf & "Do you want to turn tracked changes off?", vbYesNo, "WARNING - Tracked changes enabled!")

If TurnOffTrackedChanges = vbYes Then

ActiveDocument.TrackRevisions = False
MsgBox ("Tracked changes have been disabled :)")

End If

End If

End Sub

It should look like this:

MS Visual Basic Editor

If you want to try it out add the code above, click the Save button, close Word, and then click on the following link to open a document with tracked changes enabled.

Click and choose “open”: Word doc with tracked changes

Support our caregiving

If you found anything on this site of use, interesting, or even mildly amusing then please consider dropping a few pennies in the jar to help us to take care of our disabled son who contracted encephalitis in 2007 at the age of 6 and who is now confined to a wheelchair. He is getting bigger as his mother and I get older, imagine that, please. Every penny we collect goes towards his upkeep, and towards his future care requirements.

Thank you.

Support our caregiving

Support our caregiving

If you found anything on this site of use, interesting, or even mildly amusing then please consider dropping a few pennies in the jar to help us to take care of our disabled son who contracted encephalitis in 2007 at the age of 6 and who is now confined to a wheelchair. He is getting bigger as his mother and I get older, imagine that, please. Every penny we collect goes towards his upkeep, and towards his future care requirements.

Thank you.