Retrieve current page number

D

Daniel Lang

Dear All!

I'm currently working on a project, that automatically creates large
tech-manuals as .doc - files.
To set up a table of contents I need to figure out the page number of a
range object.
In other words: I have a range object, which - for sure - only marks text in
one page and I want to know on which page this range object is.

Kind regards,
Daniel Lang
 
C

Cindy M.

Hi Daniel,
I'm currently working on a project, that automatically creates large
tech-manuals as .doc - files.
To set up a table of contents I need to figure out the page number of a
range object.
In other words: I have a range object, which - for sure - only marks text in
one page and I want to know on which page this range object is.
You want the .Information property of the Range object. That accepts one of a
list of Enums to return information about the document. In this case:
rng.Information(wdwdActiveEndPageNumber)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top