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.

Re: Identify the page you are on by Anne

Anne
Sat Feb 11 13:46:31 CST 2006

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

"red6000" <red1000002001@yahoo.com> wrote in message
news:43ee3ccd$0$6999$ed2619ec@ptn-nntp-reader02.plus.net...
> 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.
>



Re: Identify the page you are on by Greg

Greg
Sat Feb 11 14:44:10 CST 2006

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

shoud do.

--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.


red6000 wrote:
> 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.