Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, having a bit of a problem with this code which is designed to fill a
dropbox as it is being clicked. The reason I do this is that the values the combo can be depend on other combo selections. Maybe my problem is not the code but rather some property of the combo... however, I shouldn't think so. I KNOW that the combo list fills, the problem is that the value the user slects is not getting assigned to it. I have the static variable telling me if I am on the way Up or Down (i.e., dropped or closing up) because I didn't want the code which resets the combo to fire on the way up. Private Sub cboHardness_DropButtonClick() Static UpDown As Boolean If UpDown Then GoTo Exit_Me End If 'Application.EnableEvents = False I tried disabling events but no help Call Fill_DropDown("cbo1") 'Application.EnableEvents = True Exit_Me: UpDown = Not (UpDown) End Sub |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
very sorry - got it working ... same code ... different problem.
"William Benson" wrote in message ... Hi, having a bit of a problem with this code which is designed to fill a dropbox as it is being clicked. The reason I do this is that the values the combo can be depend on other combo selections. Maybe my problem is not the code but rather some property of the combo... however, I shouldn't think so. I KNOW that the combo list fills, the problem is that the value the user slects is not getting assigned to it. I have the static variable telling me if I am on the way Up or Down (i.e., dropped or closing up) because I didn't want the code which resets the combo to fire on the way up. Private Sub cboHardness_DropButtonClick() Static UpDown As Boolean If UpDown Then GoTo Exit_Me End If 'Application.EnableEvents = False I tried disabling events but no help Call Fill_DropDown("cbo1") 'Application.EnableEvents = True Exit_Me: UpDown = Not (UpDown) End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA code for drop down menu problem. | Excel Discussion (Misc queries) | |||
Combo Box/Drop down box | Excel Discussion (Misc queries) | |||
Drop Down/List w/Code and Definition, only code entered when selec | Excel Worksheet Functions | |||
Drop down or Combo Box Help with VBA code and formula | Excel Worksheet Functions | |||
VBA code silently crashing. Problem with Data Validation drop down lists. | Excel Programming |