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
 
Top