I need to write a Macro that uses a Word 2002 specific parameter when calling a function if it is running on Word 2002, but that calls a different Word 2000 function when it runs on Word 2000.
Word 2000 gives a compile error if I include the Word 2002 syntax, even if it doesn’t need to execute it
I don’t want to create and maintain 2 different templates – one for each version.
I vaguely remember a syntax that would cause the VBE run time environment to conditionally skip compiling code, depending on the version, but a google search failed to show anything helpful.
Does anyone have a clue what I am talking about or a pointer to something helpful.
StuartR