Heres what i have:
A list of sentences in RTB
A combo box that add sentences to end of RTB written like this:
.SelStart = Len(myrtf1.Text)
.SelText = vbCrLf & Combo1.List(i)
This works good so far
I want to modify this to give a user the option of adding sentences to the middle of the list of sentences based on the curser
location. If the user places the curser at the end of a sentence the above with statement will work leaving out the
.selstart This creates a new line and inserts the text into the new line. This is fine also.
Heres where i need help:
If the user creates a blank line by pressing enter at the end of an existing line then i need to be able to insert the combo
text into this blank line. How can this be accomplished?