Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Userform ComboBox populate using code?

Hi,

I am currently developing a user form which has tick boxes in three
different groups, that will automatically select the correct equipment info
in the calculation worksheet when it loads.

I need to identify which is the primary equipment (the second, third, fourth
.... etc etc doesn't matter, just the first set).

I beleive I have two ways to proceed:

i). Add a toggle button along with each tickbox - want to really avoid this
as I am short on room, and also it looks really ugly.
ii). Use a combobox to select the primary equipment - would like this to be
dynamic and only present the options pre-selected by the tick boxes

Any ideas on how to move forward with this?

Any help would be very appreciated.

Regards



Marc
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Userform ComboBox populate using code?

Private Sub Checkbox1_Click()
Combobox1.AddItem Checkbox1.Caption
End sub

Private Sub Checkbox2_Click()
Combobox1.AddItem Checkbox2.Caption
End sub


and so forth.

--
Regards,
Tom Ogilvy

"Marc Cowlin" wrote:

Hi,

I am currently developing a user form which has tick boxes in three
different groups, that will automatically select the correct equipment info
in the calculation worksheet when it loads.

I need to identify which is the primary equipment (the second, third, fourth
... etc etc doesn't matter, just the first set).

I beleive I have two ways to proceed:

i). Add a toggle button along with each tickbox - want to really avoid this
as I am short on room, and also it looks really ugly.
ii). Use a combobox to select the primary equipment - would like this to be
dynamic and only present the options pre-selected by the tick boxes

Any ideas on how to move forward with this?

Any help would be very appreciated.

Regards



Marc

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
use selected value from one combobox to populate another combobox rjudge[_7_] Excel Programming 3 April 14th 06 02:01 PM
Populate a Combobox from range. ex1302[_8_] Excel Programming 14 July 22nd 05 05:32 PM
Populate combobox Pat Excel Programming 1 December 10th 04 05:33 PM
Populate a combobox Rory[_3_] Excel Programming 2 June 9th 04 04:20 PM
Populate Column Header on ComboBox michael_13143 Excel Programming 1 April 23rd 04 05:45 PM


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