How to disable Header and Footer in MS word with VB code

Hi Tea,

We need to disable Header & Footer in MS word (Restrict user to edit Header and Footer). So we are trying to write a VB code.

What ever code we tried it is not working .

Can you please provide any solution how to diable H & F in word using VB code.

Thank you inadvance.

March 13th, 2015 3:42am

A relatively simple way to do this without VBA:

Select the body of the document (Ctrl+A).

On the Review tab of the ribbon, click Restrict Editing.

Tick the check box "Allow only this type of editing in the document".

Leave the dropdown set to the default "No changes (read only)".

Under Exceptions, tick the check box for Everyone.

Click "Yes, Start Enforcing Protection".

If you wish, enter a password (don't forget it - you'll need it if you ever want to unlock the document), then click OK.

Save, close and reopen the document. The header and footer won't be editable.

Free Windows Admin Tool Kit Click here and download it now
March 13th, 2015 5:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics