
Add text at cursor position?
Hi Chris,
Quote:
> When my userform is unloaded the function returns a text string. I need
this
> text string to be inserted at the current cursor position of the active
> document. I tried addbefore and addafter but this is not inserted at the
> correct place. Any ideas on how to get this to work?
Selection.Text = mystring
Selection.InsertAfter mystring
Selection.InsertBefore mystring
--
Hope this helps.
ibby
Please post replies or follow-ups to the **newsgroup** so that participants
may benefit or contribute.