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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Number of current selection 1

Status
Not open for further replies.

BlindPete

Programmer
Jul 5, 2000
711
US
Does anyone know how to return the current pagenumber from a selection in the activeDocument?

It seems straight forward enough yet I can't figure it out. All page number refences are in header/footer collection.

I must be missing something obvious. Any ideas?
-Pete
 
I should mention the application is MS Word 2000
-Pete
 
MsgBox Selection.Information(wdActiveEndPageNumber)

For more information se the "Information Property" in VB Help.

I hope it helps you
ide
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top