Preventing a user to change header/footer

J

Jezebel

The problem is that the Pane and View objects depend on what type of view
Word is displaying at the time, so you macro might work if you're in Print
view but not in Normal (or vice versa); or with/without headers and footers
displayed. Depending on what you want to end up with, you may need to make
sure Word is in the right View (either as a user requirement or through
code), or trap and deal with the error.
 
Top