Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excel 2002, Windows XP Version 2002, SP1
I have a RefEdit control on a UserForm that has both Change and Exit events working without a problem. I subsequently defined a Class module that would contain a RefEdit control and moved the UserForm's code to the Class module. In the Class module, the Change event code works without a problem, but the Exit event's code will not work. Even something as simple as the code below won't work. Any ideas on why not? One would think that if the Change event code worked, they Exit event code would work as well. Public WithEvents RefEdit As RefEdit.RefEdit Private Sub RefEdit_Exit(ByVal Cancel As MSForms.ReturnBoolean) MsgBox "Hello" End Sub Thanks in advance. Mark |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Class Module Problem | Excel Programming | |||
Variable from a sheet module in a class module in XL XP | Excel Programming | |||
Userform with template class module problem | Excel Programming | |||
Userform with template class module problem | Excel Programming |