Inserting Footer in Word Doc

E

ExcelMonkey

I am inserting page breaks as follows:
MyApp.Selection.InsertBreak Type:=wdPageBreak

I want to set up the footer. When I record using the VBA recorder I get this:
Selection.Selections(1).Footers(1).PageNumbers.Add PageNumberAlignment:= _
wdAlignPageNumberCenter, FirstPage:=False

How do I modify this using the the MyApp variable name from the first
example? That is MyApp.Selection.Selections(1) does not work.

Thanks
EM
 

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