Hello, please help if possible

In Word (XP) you can have a document, say with 5 pages, and in this case the page "name" for page 4 would be "Page4". But, if you then set the document to begin paging at page 3, now the page "name" for page 4 would become "Page7"

â?? How can one differentiate between these two items and keep them straight in VBA code? (i.e. my program doesn't know that any given document is set to start at something other than one - or do I need to test for this everytime? - if so how do you retrieve this setting?

â?? Is there a way to specify the third page and mean the page in the third position rather than the page named "Page3" ? Or do I need to retrieve the beginning page number and add that to my named pages to obtain the correct reference

Any advice, assistance, and especially code examples would be greatly appreciated. TIA

Re: Word paging vs. page position by Doug

Doug
Tue Jan 27 02:45:36 CST 2004

There is really not much of a concept of pages in Word as it is dependent
upon the printer that is being used. You can get hold of the page upon
which the selection is located by grabbing the .Range of the built in
bookmark \page"

Selection.Bookmarks("\page").Range

Better if you tell us exactly what you need to do as there may be other ways
of achieving it.

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
"quid pro quo" <anonymous@discussions.microsoft.com> wrote in message
news:D7875546-B5E4-449E-94E4-BCA84DED5CAC@microsoft.com...
> Hello, please help if possible.
>
> In Word (XP) you can have a document, say with 5 pages, and in this case
> the page "name" for page 4 would be "Page4". But, if you then set the
> document to begin paging at page 3, now the page "name" for page 4 would
> become "Page7".
>
> ? How can one differentiate between these two items and keep them straight
> in VBA code? (i.e. my program doesn't know that any given document is set
> to start at something other than one - or do I need to test for this
> everytime? - if so how do you retrieve this setting?)
>
> ? Is there a way to specify the third page and mean the page in the third
> position rather than the page named "Page3" ? Or do I need to retrieve the
> beginning page number and add that to my named pages to obtain the correct
> reference?
>
> Any advice, assistance, and especially code examples would be greatly
> appreciated. TIA.
>