Mar 15, 2005 #1 ETID Programmer Joined Jul 6, 2001 Messages 1,867 Location 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 Joined Oct 23, 2002 Messages 9,349 Location 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