Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default combobox question

I'm new to comboboxes and need a few clues.

I have Combobox1 that lists 3 dates. Combobox2 lists the names of
volunteers.

I want to be able to make many selections from combobox2 to produce a LIST
of volunteers (not just change the value of 1 cell). If the 1st, 2nd or 3rd
date is selected, the list of volunteers starts should start in C5, E5 or G5
respectively.

Could one of you gurus point me in the right direction?

Thanks in advance
Bri





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default combobox question


this should work for you


Private Sub ComboBox1_Change()
Select Case ComboBox1.Value
Case "date1" 'change to first date
ComboBox2.RowSource = "=Sheet1!C5:C15" ' change to source of new data
Case "date2" 'change to second date
ComboBox2.RowSource = "=Sheet1!E5:E15" ' change to source of new data
Case "date3" 'change to 3rd date
ComboBox2.RowSource = "=Sheet1!G5:G15" ' change to source of new data
End Select
End Sub


--
dok112
------------------------------------------------------------------------
dok112's Profile: http://www.excelforum.com/member.php...o&userid=10581
View this thread: http://www.excelforum.com/showthread...hreadid=513784

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
another combobox question teepee Excel Discussion (Misc queries) 2 May 13th 07 01:01 AM
ComboBox Question Duncan Edment Excel Worksheet Functions 1 August 1st 06 12:42 PM
ComboBox Question Kevin Excel Programming 1 December 7th 03 04:54 PM
VB question on ComboBox neeas Excel Programming 1 November 14th 03 09:54 PM
ComboBox Question Terry Detrie Excel Programming 2 October 18th 03 02:55 PM


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