Change Header & Footer in MS Word

mrinal saha

Board Regular
Joined
Jan 20, 2009
Messages
229
Hi,

Even though its an excel forum, I would like to ask a question regarding word. Need a code which can the change the header and footer every month where footer contains page number, months name with year.

If this is not possible inthis forum pls suggest me some other source.

Thanks,
Mrinal
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi Mrinal,

You can control the date part with a DATE, SAVEDATE, CREATEDATE or PRINTDATE field, coded as:
{DATE \@ "MMMM YYYY"}
{SAVEDATE\@ "MMMM YYYY"}
{CREATEDATE \@ "MMMM YYYY"}
or
{PRINTDATE \@ "MMMM YYYY"}
respectively.

See Word's Help file fore more details.

Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message. Alternatively, you can insert the fields via Insert|Field.

As for the page #, that can be sone via a simple Page field.

Cheers
 
Upvote 0

Forum statistics

Threads
1,225,388
Messages
6,184,681
Members
453,252
Latest member
ok_lets

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top