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

spurs

Active Member
Joined
Oct 18, 2006
Messages
433
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

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

spurs

Active Member
Joined
Oct 18, 2006
Messages
433
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
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,286
Office Version
  1. 365
Platform
  1. Windows
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
 

spurs

Active Member
Joined
Oct 18, 2006
Messages
433
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
 

Watch MrExcel Video

Forum statistics

Threads
1,129,931
Messages
5,639,061
Members
417,067
Latest member
rohitbabshet

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
Top