noobstartup.blogg.se

Word document missing grids
Word document missing grids










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.

#WORD DOCUMENT MISSING GRIDS 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.

word document missing grids

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.

word document missing grids

  • 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…". 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.
  • In Word 2007, you must set any compatibility option to TRUE to turn it ON.
  • word document missing grids

    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.










    Word document missing grids