Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a selection in Word
Message
From
14/08/2002 14:20:47
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00689608
Message ID:
00689677
Views:
17
Thanks Yuri, that is just what I needed.
Winn

>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,
Winn Pauley
Previous
Reply
Map
View

Click here to load this message in the networking platform