Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
have a userform called 'startformulier'. on 'startformulier' i have a button called 'disclaimer'. When the button is clicked the following code is executed: Private Sub but_disclaimer_Click() disclaimer.Show End Sub on the userform (disclaimer) that appears i have a button 'OK' to close this userform again. the code for the 'OK' button is: Private Sub but_ok_Click() unload disclaimer End sub The problem is that when the OK button on the disclaimer form is clicked, the form is closed but also the main form 'startformulier is closed ! Can anybody help me close just the 'disclaimer' form please ? thanks, Pierre P.S. i now use Private Sub but_ok_Click() disclaimer.hide End sub but i feel this is not the right way to do this. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200510/1 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Userform problem? | Excel Discussion (Misc queries) | |||
Userform from a Userform Problem | Excel Programming | |||
SOme problem on VBA Userform | Excel Programming | |||
Userform disappears when you try to initialize from a command button | Excel Programming | |||
SaveCopyAs - Userform disappears | Excel Programming |