N
Nick Murray
Hi,
I have a macro that needs to run under Word 2000, XP and 2003.
I want to turn off "keep track of formatting".
The following code excerpt will do it under Word XP/2003, but fails under
Word 2000 because the properties of Options don't exist. What puzzles me is
that I'm testing for the version of Word....is it failing because Word 2000
has to compile the macro anyway???
if Left$(Application.Build, 1) = "9" then 'other tests for Word XP/2003
here
' Word 2000
With Options
.PromptUpdateStyle = False
.FormatScanning = False
.ShowFormatError = False
End With
End if
Is there a way of telling Word 2000 to ignore these properties, or of
getting a macro to compile under different versions of Word ****when there
are different properties involved****?
thanks for any assistance,
Nick
I have a macro that needs to run under Word 2000, XP and 2003.
I want to turn off "keep track of formatting".
The following code excerpt will do it under Word XP/2003, but fails under
Word 2000 because the properties of Options don't exist. What puzzles me is
that I'm testing for the version of Word....is it failing because Word 2000
has to compile the macro anyway???
if Left$(Application.Build, 1) = "9" then 'other tests for Word XP/2003
here
' Word 2000
With Options
.PromptUpdateStyle = False
.FormatScanning = False
.ShowFormatError = False
End With
End if
Is there a way of telling Word 2000 to ignore these properties, or of
getting a macro to compile under different versions of Word ****when there
are different properties involved****?
thanks for any assistance,
Nick