Check out the .Information property of the Section object -
Selection.Information(wdActiveEndPageNumber)

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> Is there VBA code to extract what page number the code is currently at in
> the document.
[quoted text clipped - 3 lines]
>
> Thanks.