Sure, my email is in my signature.
>I cannot see any differences. Could I send to you my testRTF form? May be you will see something that I am missing.
>
>>Yuri,
>>
>>I tested code below and it worked. What could be different in your case?
>>
>>>Sergey,
>>>
>>>I also thought so, but sendkeys() did not work even manually hitted CTRL+V worked indicating that setfocus() implemented.
>>>>Hi Yuri,
>>>>
>>>>Yes, all ActiveX controls run in there own windows. You can use SetFocus method of there olecontainer to activate particular ActiveX. For example,
Thisform.oRtf.SetFocus()
>>>>oShell = Createobject("wscript.shell")
>>>>oShell.SendKeys([^V])
will paste clipboard into RTF control the same as WM_PASTE message.
--sb--