ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   OLEObject GetFocus (https://www.excelbanter.com/excel-programming/306706-oleobject-getfocus.html)

Erich Neuwirth

OLEObject GetFocus
 
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.

Chip Pearson

OLEObject GetFocus
 
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.





All times are GMT +1. The time now is 06:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com