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

I want the row source for combobox # 2 to be conditional
to the selection the user makes in combo box #1. The row
source for combo box 2 will either be sheet 1 A1:A10 or
Sheet 1 B1:B10 depending on the selection in combo box 1.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default combobox row source

there are 3 different types of comboboxes.

Which are you using
1) List option in Data, Validation
2) Combobox from the control toolbox toolbar
3) DropDown box from the forms toolbar


For 1) and 3) you might look at Debra Dalgleish's site:

Dependent lists - data validation
http://www.contextures.com/xlDataVal02.html


Datavalidation - top
http://www.contextures.com/xlDataVal01.html

for number 2) use the change event of the first combobox to set the
rowsource or otherwise load the second combobox.

--
Regards,
Tom Ogilvy


"scrabree" wrote in message
...
I want the row source for combobox # 2 to be conditional
to the selection the user makes in combo box #1. The row
source for combo box 2 will either be sheet 1 A1:A10 or
Sheet 1 B1:B10 depending on the selection in combo box 1.



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
fill combobox depending on selection from another combobox Adam Francis Excel Discussion (Misc queries) 2 July 24th 08 07:39 PM
how to give the source value for a combobox on excel spreadsheet Jithu Excel Discussion (Misc queries) 2 May 29th 07 12:50 PM
Pivot Table data source "data source contains no visible tables" Jane Excel Worksheet Functions 0 September 29th 05 08:28 PM
How can i set the source-data-range of pivottable2 to the source . Piet Excel Discussion (Misc queries) 0 March 5th 05 09:31 PM
Combobox list source Chris Thompson Excel Programming 3 August 26th 03 02:18 AM


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