Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Noncontiguous Range for ComboBox Row Source

Status
Not open for further replies.

wandan

Technical User
Dec 16, 2001
101
0
0
US
Hi There,

Is there a way to set the row source for a ComboBox to a noncontiguous range? I need the selection options to vary based on certain criteria. So, sometimes it might be just "A1", but in others it might be "A2,A3,A6", etc.

I have found how to create a noncontiguous range (ie. Range("A1:B8,D9:G16")), but I cannot figure out how to assign it to the row source.

I am using a UserForm in Excel 2003.

Thanks.
 



Hi,

You do that by returning a contiguous list based on a dynamic criteria.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Ummm... how do I go about doing that exactly??? :)
 


Check out faq68-5829.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top