Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a selection in Word
Message
 
To
14/08/2002 11:49:08
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00689608
Message ID:
00689657
Views:
19
Not quite sure why you need to highlight. If you just want to underline, then this should work whithout selection, highlights, etc:

oWord.activedocument.RANGE(5,10).Font.Underline=1

>Hi All,
>I am having a difficult time getting my code to select (highlite) a word just so I can underline it. I am using the following code:
>
>
oWord.Selection.MoveLeft(wdCharacter, lnCount)
>
>where lnCount is the number of characters to be underlined. Does anyone have any ideas?
>Thanks,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform