This is as far as I've got so far.....I need to return only the page numbers from certain panes in a word file....but this returns the entire header.
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
With Selection.HeaderFooter.PageNumbers
pg = .Parent
End With
Thank you
ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
With Selection.HeaderFooter.PageNumbers
pg = .Parent
End With
Thank you