Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word: find and replcae
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00433444
Message ID:
00433651
Views:
12
This should work.

WITH oleapp.Selection.Find
.Forward = .t.
.MatchWholeWord = .t.
.MatchCase = .f.
.Replacement.ClearFormatting
.Replacement.Font.Underline = 3
.Text = " Kero: "
.Replacement.Text = " Kero: "
?.execute(" Kero: ") && must be .t. to continue. Your code returns .f. here
ENDWITH
With oleapp.Selection.Font
.Name = "Times New Roman"
.Size = 10
.Underline = .t.
EndWith
Previous
Reply
Map
View

Click here to load this message in the networking platform