What type of object are you dealing with? The following works for
me.
Private Sub TextBox1_GotFocus()
MsgBox "Got Focus"
End Sub
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"Erich Neuwirth" wrote in message
...
Is there anywhere an example how I can make an OLEObject
created
programmatically to react to its GotFocus event?
I do not manage to do that.