Hi Robert,
I will answer this and message #
67199 as well.
>I forgot to mention that I use HTML to format the text in the editbox.
so In your editbox you see text like
<A HREF ...> ...</A>
or do you see the html as in browser?
If this is the case, this is where your problems with SelStart and SelLenght comes from.
the ocx may be a little tricky on such properties. Try with oEdit.
object.SelLenght instead of oEdit.SelLenght.
If it is an editbox all I can give is an excerpt out of help für both properties:
Diese Eigenschaft steht Ihnen zur Entwurfszeit nicht zur Verfügung; zur Laufzeit besteht Lese-/Schreibzugriff.
I know exactly that I can write on this, this is why I could answer your initial question
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]