agropaster.blogg.se

Turn off compatibility mode word 2016 in office 365
Turn off compatibility mode word 2016 in office 365









In the list below, I have added a note below the options that must be FALSE to be turned ON and TRUE to be turned OFF in all versions except Word 2007. In the macros available in this article, I have set the TRUE/FALSE values correctly for the version(s) of Word each of the macros is created for.

Turn off compatibility mode word 2016 in office 365 code#

If the same VBA code is to be used both in Word 2007 and other versions of Word and if you need to set any of the compatibility options that differ, your code must check for the Word version and handle the settings depending on whether it is Word 2007 or another Word version. These differences in behavior of some compatibility options mean that you need to check any code for setting compatibility options to make sure the TRUE/FALSE settings are correct for the version of Word in use. In all other version of Word than Word 2007, some compatibility options must be set to FALSE to be turned ON and TRUE to be turned OFF.For example, if the user interface name says "Do…", the corresponding WdCompatibility Enumeration constant says "Don't…".

turn off compatibility mode word 2016 in office 365

If you note the names of the VBA members of the WdCompatibility Enumeration listed below, you will see that some names in VBA are opposite to the names in the user interface. Correspondingly, you must set any compatibility option to FALSE to turn it OFF.

turn off compatibility mode word 2016 in office 365

In Word 2007, you must set any compatibility option to TRUE to turn it ON.Important differences between Word 2007 and other Word versions when setting some compatibility options via VBAįor unknown reasons, some compatibility options behave differently in Word 2007 than in other Word versions when setting the options via VBA.









Turn off compatibility mode word 2016 in office 365