P
Phrank
Hello,
We are usiing MS Word 2003 XP at work, and all of my colleagues and I
hate that documents always open in track changes mode (with markup
showing). I've written a small AutoOpen macro that works perfectly
fine on my computer, but from my reading on the subject, I can
accomplish the same thing with a Document_Open macro. I tried this,
but everytime I open a document, VBA opens, and I get an error
message. Here's the code and the error message:
Error message: Object variable or With Block variable not set
Private Sub Document_Open()
With ActiveWindow.View
.ShowRevisionsAndComments = False
.RevisionsView = wdRevisionsViewFinal
End With
End Sub
The reason I want to do it this way is because I believe it will be
easier for me to share this with my colleagues. The other way,
everyone has to go into VBA or I have to do it, and not everyone is
comfortable with that, and I don't have the time to do everyone's
computer. Thanks for any help or advice.
Frank
We are usiing MS Word 2003 XP at work, and all of my colleagues and I
hate that documents always open in track changes mode (with markup
showing). I've written a small AutoOpen macro that works perfectly
fine on my computer, but from my reading on the subject, I can
accomplish the same thing with a Document_Open macro. I tried this,
but everytime I open a document, VBA opens, and I get an error
message. Here's the code and the error message:
Error message: Object variable or With Block variable not set
Private Sub Document_Open()
With ActiveWindow.View
.ShowRevisionsAndComments = False
.RevisionsView = wdRevisionsViewFinal
End With
End Sub
The reason I want to do it this way is because I believe it will be
easier for me to share this with my colleagues. The other way,
everyone has to go into VBA or I have to do it, and not everyone is
comfortable with that, and I don't have the time to do everyone's
computer. Thanks for any help or advice.
Frank