Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
ComboBoxActivity is populated from a TextBox. I am now trying to get CombBoxOffence to populate from the value in ComboBoxActivity. I am trying the following code from Ron but ComboBoxOffence remains blank. TIA for any help, I have tried naming the Sub _Click() and _Change() to no avail. Thanks, Mickey ================================================== =========== Private Sub ComboBoxOffence_Change() If Me.ComboBoxActivity.ListIndex = "R.Sanctioned Detection" Then Me.ComboBoxOffence.List = Sheets("Sheet5").Range("C2:C7").Value If Me.ComboBoxActivity.ListIndex = "R.Other Arrest" Then Me.ComboBoxOffence.List = Sheets("Sheet5").Range("D2:D4").Value If Me.ComboBoxActivity.ListIndex = "X.Sanctioned Detection" Then Me.ComboBoxOffence.List = Sheets("Sheet5").Range("C12:C17").Value End If End Sub ================================================== =========== |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
reading from SQL | Excel Discussion (Misc queries) | |||
Reading XML | Excel Discussion (Misc queries) | |||
reading statements | Excel Programming | |||
reading xls from asp | Excel Programming | |||
sub for reading | Excel Programming |