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
 
Top