Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

current page number in Word 2

Status
Not open for further replies.

RobBroekhuis

Technical User
Oct 15, 2001
1,971
US
Hi all,
My poor Word VBA knowledge is coming back to haunt me. All I want is to get the page number at the current selection. Word VBA help is terrible, and hasn't been too helpful...
Rob
[flowerface]
 
Dim testpage
testpage = Selection.Information(wdActiveEndPageNumber)
 
Ah yes. It's tucked into an obscure spot :)
Thanks much!
Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top