Identify the page you are on

R

red6000

Hi,

I'm trying to write a bit of code that will obtain the page number that the
cursor is currently on.

Can anyone help?

Thanks.
 
A

Anne Troy

Where do you want to report the page number? And do you want the page number
to be the page number you've assigned using the page number field? Or do you
want the page number to be the physical page number in the document. Also,
I'm not sure what's wrong with the page number information on the status
bar?

************
Hope it helps!
Anne Troy
www.OfficeArticles.com
Check out the NEWsgroup stats!
Check out: www.ExcelUserConference.com
 
G

Greg Maxey

Something like:
Sub Report()
MsgBox Selection.Information(wdActiveEndPageNumber)
End Sub

shoud do.
 
Top