Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find nChrPos in Word document for SetRange?
Message
From
17/02/2007 20:05:36
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01196857
Message ID:
01196870
Views:
15
Hey Dan

hmm..
I think I may be confused. If I understand your suggestion, to use Selection.Range(), the snippet would be modified to look something like this:
   oRange.Collapse(1)			&& Collase to Start of FOUND() word
   lnEndPos = oWord.Selection.Range()
However, lnEndPos becomes a reference to an object. SetRange(lnStartPos, lnEndPos) is expecting integer values, so I don't understand how this would work.

Thanks
- Don Lowrey
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform