Formatting page header and footer

M

Mei Qin

Hello,

I added text to the page header and footer using vba.

objWord.Sections(1).Footer
(wdHeaderFooterPrimary).Range.Text = "This is the footer
text"


I would like to add the page number to the footer in
addition to the footer text and center the text and page
number. How can I do that?

Thanks for the help!

Mei
 

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