Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a situation something like this:
Sub Main() UserForm1.Show End Sub UserForm1 has ComboBox1, ComboBox2, TextBox1, CommandButton1 and CommandButton2. In the code for UserForm, I have something like: Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean) MsgBox("Hi") End Sub When the code compiles, I get: Compile error: Expected Function or variable Can someone help me with this one? TIA Mike -- Michael J. Malinsky |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Capture event when exit Column G | Excel Discussion (Misc queries) | |||
If a called sub exit, how to the caller exit right away? | Excel Programming | |||
MSForms.TextBox Exit event isn't available in Excel class mosule | Excel Programming | |||
Control Exit event | Excel Programming | |||
OnTime event not firing in Workbook_Open event procedure | Excel Programming |