ReadabilityStatistics comment utiliser cette commande entre deux signés?
Benwillis
Messages postés28Date d'inscriptionvendredi 9 mai 2003StatutMembreDernière intervention21 novembre 2008
-
28 juil. 2003 à 11:24
Benwillis
Messages postés28Date d'inscriptionvendredi 9 mai 2003StatutMembreDernière intervention21 novembre 2008
-
28 juil. 2003 à 17:35
J'utilise ReadabilityStatistics pour obtenir le nbre de mots, de lignes , et de paragraphes mais j'aimerai savoir comment on peut utiliser cette commande entre deux "signés" ou "bookmarks" et non pour tout le document?
Comment obtenir avec une commande en VB le temps total d'édition d'un document que l'on peut visionner ds Word (Fichier->Propriétés->Statistiques)?
A+
A voir également:
ReadabilityStatistics comment utiliser cette commande entre deux signés?
Benwillis
Messages postés28Date d'inscriptionvendredi 9 mai 2003StatutMembreDernière intervention21 novembre 2008 28 juil. 2003 à 17:35
J'ai trouvé ..c bon .
Voilà la réponse :
If ActiveDocument.Bookmarks.Exists("b1") = True Then
Sig1 = ActiveDocument.Bookmarks("b1").End
Else
Sig1 = 0
End If
If ActiveDocument.Bookmarks.Exists("e1") = True Then
Sig2 = ActiveDocument.Bookmarks("e1").End
Else
Sig2 = 1
End If
Set myselct = ActiveDocument.Range(Start:=Sig1, End:=Sig2)
myselct.Select
wordval = myselct.ReadabilityStatistics(1).Value