Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find and highlight word in a word document
Message
De
08/10/2009 08:38:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01428224
Message ID:
01428229
Vues:
35
thanks, but that gives me an oleerror

WITH .SELECTION.FIND
.HitHighlight("finance", wdYellow) &--- error appears here

ENDWITH



>You can use HitHighlight() method of the Find object
>
>    With .Selection.Find
>      .HitHighlight ("Whatever")
>
>
>Syntax: expression.HitHighlight(FindText, HighlightColor, TextColor, MatchCase, MatchWholeWord, MatchPrefix, MatchSuffix, MatchPhrase, MatchWildcards, MatchSoundsLike, MatchAllWordForms, MatchByte, MatchFuzzy, MatchKashida, MatchDiacritics, MatchAlefHamza, MatchControl, IgnoreSpace, IgnorePunct, HanjaPhoneticHangul)
>
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform