Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the word count from Word document.
Message
 
À
25/11/2003 22:58:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00853242
Message ID:
00853638
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Ok, then this should help:

?oDocument.ComputeStatistics(Statistic, IncludeFootnotesAndEndnotes)

*Statistic Can be one of the following WdStatistic constants:
*wdStatisticCharacters, wdStatisticCharactersWithSpaces,
* wdStatisticLines, wdStatisticPages, wdStatisticParagraphs, or wdStatisticWords.

>That does not match the values shown from word menu.
>Word Count From Word Menu = 1256
>Word Count ?oWord.documents[1].Words.count = 1858 && only one document opened
>
>Rajesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform