Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find and highlight word in a word document
Message
From
08/10/2009 08:38:05
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01428224
Message ID:
01428229
Views:
36
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform