LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 154
Default Simple Form questions

A command button on a sheet presents a form (Frm_Initial) which has a
textbox displaying information for the user, plus Ok and Cancel buttons
(where Cancel should exit the routine, and Ok present the next form)....
except that neither button works.

The initial button on the sheet:
Private Sub CommandButton1_Click()
Load Frm_Initial
Frm_Initial.Show
End Sub

and the form code:
Private Sub Cb2_Cancel_Click()
'user clicked Cancel
Unload Frm_Initial
End Sub

Private Sub Cb1_Ok_Click()
'user clicked OK
'Unload Me
Frm_SelectCert.Show
End Sub

What am I doing wrong, please?

Regards.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions should be simple please help babiigirl Excel Worksheet Functions 3 June 14th 06 07:24 PM
Further simple Form questions Stuart[_21_] Excel Programming 8 March 12th 05 06:05 PM
Simple Questions James[_17_] Excel Programming 3 December 7th 03 04:22 PM
Several simple questions Stuart[_5_] Excel Programming 1 September 14th 03 08:58 PM
Simple VB and Excel questions Kevin Excel Programming 1 August 5th 03 08:40 PM


All times are GMT +1. The time now is 12:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"