View Single Post
  #5  
Old April 15th, 2010, 08:11 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 Suzanne,

True. I suppose one could use a macro that taps into the DocumentBeforePrint event to force the page setup back to what it's
supposed to be. That'd fix 'em.

--
Cheers
macropod
[Microsoft MVP - Word]


"Suzanne S. Barnhill" wrote in message ...
But it probably wouldn't prevent users from dragging the margin markers on the ruler.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"macropod" wrote in message ...
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?