Need to automate Word to get/set current page.

S

satuon

In my app I automate Microsoft Word. If I have an interface to the
Application object, can someone tell me if it's possible to get and
set the current page? By setting I mean make the cursor in word go to
the beginning of the selected page. I also need to know which page is
the current page, and how many pages there are in the document.

I've found a way to go the previous and next page by calling
oWord.Browser.Previous
oWord.Browser.Next

But how to go to any page?
 

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