H
hgazdik
Hi,
I need this line of code for use in Word 2002 and greater:
With ActiveWindow.View.RevisionsMode = wdInLineRevisions
But for use in Word 2000 (version 9) I need this line of code to be
skipped.
The compiler throws and error when run on a Word 2000 machine, even
when it is being told to skip the line.
================================================
strVersion = Application.Version
strVersion = Left(strVersion, 1)
If strVersion = 9 then GoTo Version9Skip2
With ActiveWindow.View.RevisionsMode = wdInLineRevisions
Version9Skip2:
With ActiveDocument
.trackRevisions = True
.ShowRevisions = False
End With
Any suggestions on why the 2000 compiler does like that line of code?
I need this line of code for use in Word 2002 and greater:
With ActiveWindow.View.RevisionsMode = wdInLineRevisions
But for use in Word 2000 (version 9) I need this line of code to be
skipped.
The compiler throws and error when run on a Word 2000 machine, even
when it is being told to skip the line.
================================================
strVersion = Application.Version
strVersion = Left(strVersion, 1)
If strVersion = 9 then GoTo Version9Skip2
With ActiveWindow.View.RevisionsMode = wdInLineRevisions
Version9Skip2:
With ActiveDocument
.trackRevisions = True
.ShowRevisions = False
End With
Any suggestions on why the 2000 compiler does like that line of code?