Is there a way to lock the margins in Word?

D

Deirdre

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?
 
M

macropod

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 File>PageSetup action.
 
S

Suzanne S. Barnhill

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 said:
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 File>PageSetup action.

--
Cheers
macropod
[Microsoft MVP - Word]


Deirdre said:
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?
 
G

Graham Mayor

If you put the logo in the header view of the pages on which it is supposed
to appear in a borderless text box that occupies the full height of the page
and set the wrap of that text box to 'square', then even if the users
changed the margin, the text would not invade the space occupied by the text
box.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
M

macropod

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 said:
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 said:
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 File>PageSetup action.

--
Cheers
macropod
[Microsoft MVP - Word]


Deirdre said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top