PDA

Click to See Complete Forum and Search --> : determine current page number in VBA


scobiej
Nov 24th, 2003, 11:28 AM
Does anyone know how to determine the current page number in VB when working with Word 2000 objects.

I'm placing data in a report then going back to my contents table and placing page numbers into the 1st column there.

I plan to jump to the bookmarks then read in the page number of the location.

It would be even better if I could loop through the collection of bookmarks and if they had a property telling u which page they are on? Is this dooable?

any comments appreciated...

scobiej
Nov 26th, 2003, 03:44 AM
its ok, I implemented a solution using cross references as the page numbers - which are links to the bookmarks throughout the document.