View Single Post
 
Old 05-30-2016, 01:35 PM
barry_burd barry_burd is offline Windows 10 Office 2016
Novice
 
Join Date: May 2016
Posts: 3
barry_burd is on a distinguished road
Default ActiveWindow.View "object variable not set"

I'm getting the error "Object variable or With block variable not set" when I try to run the following macro on Word 2016 on a Mac:

Sub MarkupToggle()
With ActiveWindow.View
.ShowRevisionsAndComments = Not .ShowRevisionsAndComments
.RevisionsView = wdRevisionsViewFinal
End With
End Sub

How can I diagnose this error?
Reply With Quote