View Single Post
  #2  
Old April 15th, 2010, 12:58 AM posted to microsoft.public.word.pagelayout
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default Is there a way to lock the margins in Word?

Hi Deirdre,

You could insert a macro like the following into the document's template:

Private Sub FilePageSetup()
MsgBox "Sorry, that option is not allowed with this document", vbExclamation
End Sub

The above macro intercepts the FilePageSetup action.

--
Cheers
macropod
[Microsoft MVP - Word]


"Deirdre" wrote in message ...
Hello, I've created an electronic version of the company stationary and I'd
like to lock the margins so they cannot inadvertently be altered to invade
the white space of the corporate logo that resides in the left hand margin
mid-way down the page. If there is no way of locking the margins - is there
any way of allowing the end user to edit the body of the document only and
not touch the margins, headers, footers?