Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Thanks Tony.
"Tony Jollans [MVP]" wrote in message news:*** Email address is removed for privacy ***...
ActiveDocument.CompatibilityMode is a half baked, poorly documented, Long, not a Boolean.
Depending on what condition you want to check for, you could either make explicit checks against the version constants (wdWord2003, etc.), or take a flyer and compare it to Application.Version which appears as though it ought to work into the future (it may not do what you want in future releases, of course!). What you can't do (apart from check it for being True) is check it against the obvious 'wdCurrent', which, as far as I can tell, will never be true.
-- Enjoy,
Tony
*** Email address is removed for privacy *** www.ribbonspace.com Documents and Ribbons. Simple Automation.