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 question

Sheet1 has a commandbutton. When clicked, a form containing one label, an Ok
button and a Cancel button, loads.
I cannot get the buttons to fire the events!

In sheet1 I have:
Private Sub CommandButton1_Click()
Call HandleTheForms
End Sub

In module1 I have:
Private Sub HandleTheForms()
Frm_Initial.Show
End Sub

Behind the form, I have:
Private Sub Cb1Ok_Click()
MsgBox "Success with Ok_Click"
End Sub

Private Sub Cb2Cancel_Click()
MsgBox "Success with Cancel_Click"
Exit Sub
End Sub

Help, feel like I've forgotten what little I thought I knew.

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
Drop-down list on simple excel 2003 form using "form" from data me S Beals Excel Discussion (Misc queries) 0 March 2nd 10 08:35 PM
IF formula-simple question; simple operator Rich D Excel Discussion (Misc queries) 4 December 6th 07 03:36 PM
Simple Simple Excel usage question BookerW Excel Discussion (Misc queries) 1 June 23rd 05 10:06 PM
User Form Interface .... really a simple question! monir Excel Programming 8 April 24th 05 08:14 PM
Simple form question Stuart[_21_] Excel Programming 5 March 12th 05 04:56 PM


All times are GMT +1. The time now is 07:16 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"