Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA Combo Box Populating dependent on other combo box choices

I am trying to populate a combo box that is dependent on another combo
box selection. I currently trying to use a "Select Case
comboBox1.value", "Case 1, Case 2.....Case N", and I am referenceing
the list index of the selection in the independent combo box to be the
case number in the "comboBox1.value" case. This is not working. Can
anyone help me out?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Excel VBA Combo Box Populating dependent on other combo box choice

Select Case Combobox1.ListIndex
case 0

case 1

case 2

case else

end Select

this assumes a combobox from the control toolbox toolbar.

--
Regards,
Tom Ogilvy


"ikabodred" wrote:

I am trying to populate a combo box that is dependent on another combo
box selection. I currently trying to use a "Select Case
comboBox1.value", "Case 1, Case 2.....Case N", and I am referenceing
the list index of the selection in the independent combo box to be the
case number in the "comboBox1.value" case. This is not working. Can
anyone help me out?


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
Populating a combo box John in Surrey Excel Programming 1 February 8th 06 04:56 PM
Populating a Combo Box Bryan Excel Programming 1 February 25th 05 06:50 PM
display sheet choices in combo box Wazooli Excel Programming 2 February 3rd 05 04:26 AM
Populating Sheet Data From A UserForm Combo Box Enabled For Multi-Choices R3df1sh[_3_] Excel Programming 1 December 4th 03 08:58 PM
Populating a lis/combo box in excel with access data Enrico Lisk Excel Programming 1 October 3rd 03 01:12 PM


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