#1   Report Post  
nc
 
Posts: n/a
Default Combobox

I have inserted a combobox on a worksheet using the control toolbox, and
subsequently attached a macro to it.

Why is it when an item from the drop down list is already selected, and the
same item is then reselected the macro does not activate?




  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

If you're using the "ComboBox1_Change" event, then you're not really changing
the value--so it doesn't fire.

You may want to consider putting a button next to the dropdown and have the user
click that when they need to run it again. (and remove it from the _change
event).

Or reset the combobox when your code finishes. (If your list is extremely long,
the user will have to scroll down again, though.)

nc wrote:

I have inserted a combobox on a worksheet using the control toolbox, and
subsequently attached a macro to it.

Why is it when an item from the drop down list is already selected, and the
same item is then reselected the macro does not activate?


--

Dave Peterson
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
Newbie combobox ordeal. alex.k New Users to Excel 6 July 3rd 05 11:29 PM
Combobox Number Formats LostInVBA Excel Worksheet Functions 0 June 30th 05 09:11 PM
Using a ComboBox for Data Entry into a Cell Jon Turner Excel Worksheet Functions 4 May 27th 05 09:53 PM
Combobox M Excel Discussion (Misc queries) 1 March 7th 05 10:29 AM
Getting combobox dropdowns to appear on a userform when tabbed to. DO Excel Discussion (Misc queries) 0 March 2nd 05 02:11 PM


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