Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Adding a control to a User Form


Can anyone tell me why, on some occasions, that after I add a control to
a User Form, e.g. a checkbox whose name is chkTest, and then go to View
Code, the following code which should appear, does not?


Code:
--------------------
Private Sub chkTest_Click()

End Sub
--------------------


No matter what I do, it never shows up.


--
scantor145
------------------------------------------------------------------------
scantor145's Profile: http://www.excelforum.com/member.php...o&userid=14766
View this thread: http://www.excelforum.com/showthread...hreadid=476923

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Adding a control to a User Form

I haven't had that problem if I double click on the check box in the VBE.
Anyway, it is easy enough to get it. In the dropdowns at the top of the
Userform Module, in the left dropdown select chkTest and in the right
dropdown select Click (if it hasn't already put in the declaration).

--
Regards,
Tom Ogilvy



Reply
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
user form & control properties Mike Molyneaux Excel Programming 0 April 1st 05 07:41 PM
user form and frame control Gixxer_J_97[_2_] Excel Programming 1 February 11th 05 10:26 PM
Spreadsheet Control on User Form Paul Worthington Excel Programming 0 June 29th 04 03:09 PM
help: master control macro and user form jasonsweeney[_20_] Excel Programming 1 January 26th 04 11:10 AM
Control Order on User Form AKoodray Excel Programming 4 December 30th 03 09:30 PM


All times are GMT +1. The time now is 07:16 AM.

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"