Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default CheckBox controling a ComboBox

I am currently building a form in VB and have hit a snag.

I want to have 3 CheckBoxes in a frame that drive a specific list to be
selected from a single ComboBox. I.e. each CheckBox generates a
different and unique list from the combobox.

Any Ideas



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default CheckBox controling a ComboBox

I would recommend option buttons. This way only 1 list would be supplied.

Private Sub OptionButton1_Click()
ComboBox1.RowSource = ""
ComboBox1.RowSource = "Sheet1!A1:A5"
End Sub

or

Private Sub OptionButton1_Click()
ComboBox1.RowSource = ""
ComboBox1.RowSource = "mylistname"
End Sub

set up code for each button.
--
sb
"Dillonstar" wrote in message
...
I am currently building a form in VB and have hit a snag.

I want to have 3 CheckBoxes in a frame that drive a specific list to be
selected from a single ComboBox. I.e. each CheckBox generates a
different and unique list from the combobox.

Any Ideas



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default CheckBox controling a ComboBox

Thanks for the advice, does exactly what I wanted...

TVM



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default CheckBox controling a ComboBox

Glad it worked!

Keep on Exceling...

--
sb
"Dillonstar" wrote in message
...
Thanks for the advice, does exactly what I wanted...

TVM



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



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
Hiding a ComboBox with a Checkbox AWeb Excel Worksheet Functions 2 September 15th 06 01:30 PM
Controling the Worksheet_Change Event? DCSwearingen Excel Discussion (Misc queries) 3 May 25th 06 08:32 PM
controling a .xls from another .xls on-a-mission New Users to Excel 2 February 17th 06 06:28 AM
Controling navagation of a form Amanda Excel Discussion (Misc queries) 1 April 28th 05 07:51 PM
Controling Acrobat PDFs YS Excel Discussion (Misc queries) 1 December 18th 04 10:47 AM


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