General information
Category:
COM/DCOM and OLE Automation
>>All,
>>
>> Two questions about Automation with Word.
>>1. How do I determine which page of the document I am on?
>>
>
>This is tricky in Word because it doesn't really pay attention to pages until it needs to. However, you can use the Information method of the Range object. If oRange is a defined range, then this expression gives you the last page of the range:
>
>#DEFINE wdActiveEndPageNumber 3
>nLastPage = oRange.Information( wdActiveEndPageNumber )
>
>There's other information available that way, too.
>
>Tamar
Tamar, can you point me to a place where I can find out more about the information that can be retrieved this way?
I've gotten pretty far w/Word automation, thanks to your book, and the UT...thanks!
j
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only