Information générale
Catégorie:
COM/DCOM et 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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement