Indexing Word

M

MrQuestions

I'm looking for a quick way to index all words in a microsoft word document.
The indexer in word seems to be all manual. I tried a program to itterate
the word object model but it gives me only word and word number not page
number or paragraph number -- in fact I couldn't find page in the word
object model. Any ideas or code sample appreciated.
 
C

Cindy M -WordMVP-

Hi MrQuestions,
I'm looking for a quick way to index all words in a microsoft word document.
The indexer in word seems to be all manual. I tried a program to itterate
the word object model but it gives me only word and word number not page
number or paragraph number -- in fact I couldn't find page in the word
object model. Any ideas or code sample appreciated.
I answered a very similar question to this one yesterday

Message-ID: <VA.0000a263.00b3df9b@speedy>

The answer contains some VBA code that shows how to get page numbers.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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