B
BruceM
I have some code that is designed to print certain pages from a document.
The general idea is that the user will select a page, which will print along
with other pages in the document that are identified by means of bookmarks.
I am using this code to identify the first page:
ActiveDocument.ActiveWindow.Selection.Range.Information(wdActiveEndAdjustedPageNumber)
This code identifies the current page after the user clicks into it
(although yesterday I would have sworn all I had to do was go to it). Is
there a way to identify the page number simply by going to it? I know that
I can print the current page through code, but can I identify the current
page number?
The general idea is that the user will select a page, which will print along
with other pages in the document that are identified by means of bookmarks.
I am using this code to identify the first page:
ActiveDocument.ActiveWindow.Selection.Range.Information(wdActiveEndAdjustedPageNumber)
This code identifies the current page after the user clicks into it
(although yesterday I would have sworn all I had to do was go to it). Is
there a way to identify the page number simply by going to it? I know that
I can print the current page through code, but can I identify the current
page number?