Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find nChrPos in Word document for SetRange?
Message
De
17/02/2007 20:05:36
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01196857
Message ID:
01196870
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform