Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 300
Default No change event on control toolbox combo box when selection is the same?

Of the three combo boxes available I generally prefer the simple Data
Validation drop down list. But in this particular use I want the same combo
box to be mirrored on two sheets. Trying to get Data Validation ones to
stay in sync with change events gets ugly.

So for this input we had been using a Forms combo box. They work very
nicely, but one can't set their background color, and we like to use yellow
for input fields.

This gets me to using the one in the control toolbox. I'd like it to work
as close to a Forms one as possible. So after the user has made a selection
I want to put the focus back on the sheet. People have come up with various
ways to do this. The one I've been using is

Private Sub ComboBox1_Change()
SendKeys "{ESC}"
End Sub

But in the combo box I'm working with now, if the user leaves the selection
the same it doesn't fire this macro and the focus remains on the control. I
have Style=DropDownList. MatchRequired=True. MatchEntry=Complete.
AutoWordSelect=True. EnterFieldBehavior=SelectAll.

Is there any way to get the behavior I want?

Don <donwiss at panix.com.
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
what is code to activate a combo box in control toolbox Pogo Excel Discussion (Misc queries) 1 July 23rd 06 10:41 AM
combo box from control toolbox Hassan Merzha Excel Discussion (Misc queries) 1 June 16th 06 12:24 PM
control toolbox combo box sbhayes Excel Discussion (Misc queries) 0 February 15th 06 12:45 AM
Selection Change Event... Juan Sanchez Excel Programming 1 May 28th 04 10:16 PM
Help with a Combo Box Change Event Ruan[_3_] Excel Programming 1 October 28th 03 08:51 AM


All times are GMT +1. The time now is 05:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"