LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default combo drop down code problem?

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



 
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
VBA code for drop down menu problem. mj_bowen Excel Discussion (Misc queries) 5 February 6th 10 12:10 PM
Combo Box/Drop down box Yog Excel Discussion (Misc queries) 1 August 20th 09 01:23 PM
Drop Down/List w/Code and Definition, only code entered when selec Spiritdancer Excel Worksheet Functions 2 November 2nd 07 03:57 AM
Drop down or Combo Box Help with VBA code and formula [email protected] Excel Worksheet Functions 4 July 17th 07 03:03 PM
VBA code silently crashing. Problem with Data Validation drop down lists. Don Wiss Excel Programming 6 February 27th 05 09:46 AM


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