Problem forcing a macro to run when updating a drop down list

spurs

Active Member
Joined
Oct 18, 2006
Messages
479
Office Version
  1. 2016
  2. 2013
  3. 2010
  4. 2007
  5. 2003 or older
Platform
  1. Windows
I have an excel workbook with macros

The following code appears in This Workbook

Worksheets("Geometry (mm)").OnEntry = "Every_Update"

Every_Update is a macro that calls other macros to run every time The worksheet Geometry (mm) has an entry

This has been working well for some time

Today i added a cell with a drop down list in the worksheet Geometry (mm)

I am finding that when i select from the drop down list in cell C12, the macro Every_Update does not run. I need it to run
I am guessing the reason is that entry is not pressed once the drop down list item is selected

How can i get Every_update to run when selecting from a drop down list?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Bump
How do i get the macro to run if i dont press enter? The drop down list selection does not have enter in the process of selecting
 
Upvote 0
Have you tried using the Change event of the worksheet 'Geometry (mm)'?
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    Every_Update
End Sub
 
Upvote 0
Have you tried using the Change event of the worksheet 'Geometry (mm)'?
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    Every_Update
End Sub
This worked great
Thank you
 
Upvote 0

Forum statistics

Threads
1,212,927
Messages
6,110,700
Members
448,293
Latest member
jin kazuya

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top