Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Event Handler for Controls made "on the run"

Hi.
I often create controls "on the run" for my userforms. However, I was
wondering if it is possible to create event handlers for these controls. If
so, how do you do it?
Thank you and Best regards,
Albert
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Event Handler for Controls made "on the run"

It is convoluted. Why don't you create them at design time, and the event
code, and just hide them until required.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Albert" wrote in message
...
Hi.
I often create controls "on the run" for my userforms. However, I was
wondering if it is possible to create event handlers for these controls.

If
so, how do you do it?
Thank you and Best regards,
Albert



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Event Handler for Controls made "on the run"

No can do...
The thing is I need to create a textbox for a variable number of records, so
they have to be created at runtime.
Albert

"Bob Phillips" wrote:

It is convoluted. Why don't you create them at design time, and the event
code, and just hide them until required.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Albert" wrote in message
...
Hi.
I often create controls "on the run" for my userforms. However, I was
wondering if it is possible to create event handlers for these controls.

If
so, how do you do it?
Thank you and Best regards,
Albert




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Event Handler for Controls made "on the run"

If you search this group for "eventclass controls" for example then you
will find a lot of interesting threads with code and explanation. You
have to create your own classmodule to create the events.

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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Can locating "FIND" results be made easier on the eyes? [Office 20 Brymor Excel Discussion (Misc queries) 12 January 8th 07 11:31 AM
CommandBars("Worksheet Menu Bar").Controls("Tools").Enabled = Fals Arturo Excel Programming 3 May 26th 05 05:44 PM
File Always Asks "Save Changes Y/N" even when no changes made Nicholas B Excel Programming 1 February 11th 05 01:23 PM
Can ActiveX controls be "disabled" and "enabled"? William DeLeo Excel Programming 1 May 7th 04 09:10 PM


All times are GMT +1. The time now is 03:05 AM.

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

About Us

"It's about Microsoft Excel"