in reply to MS Word page numbers

It looks as though the Information Property will give you that.

The example (vba) there uses

Selection.Information(wdActiveEndPageNumber)