Mar 15, 2005 #1 ETID Programmer Jul 6, 2001 1,867 US Can anyone tell me how to return the active page number in word via VBA? something simple like ... X=activepage.number would have been great...but noooooooooooooooo (that would make too much sense) thanks for any help
Can anyone tell me how to return the active page number in word via VBA? something simple like ... X=activepage.number would have been great...but noooooooooooooooo (that would make too much sense) thanks for any help
Mar 15, 2005 #2 fumei Technical User Oct 23, 2002 9,349 CA The current cursor (Selection) location is: Selection.Information(wdActiveEndAdjustedPageNumber) Note, if the Selection is a Range greater than 1 (ie. is is more than one character), the integer returned is the End of the range. Gerry Upvote 0 Downvote
The current cursor (Selection) location is: Selection.Information(wdActiveEndAdjustedPageNumber) Note, if the Selection is a Range greater than 1 (ie. is is more than one character), the integer returned is the End of the range. Gerry