Where did my "SelectionChange" event go?

Xeroid

Board Regular
Joined
Aug 14, 2002
Messages
64
I am trying to get a macro to run based on a change occuring in cell C5 of sheet "Input Variables".

When I right click on the Excel symbol and click on "View code" I can see in the dropdown list that the events go from "PivotTableOpenConnection" to "Sheet Activate".

The "SelectionChange" event is not listed. :oops:

Is there some way to install this feature that I have missed? The company I work for frequently sends security updates, so I wonder if this feature was removed for macro security reasons?

Any help with this would be appreciated. I am a rank NOVICE at VBA, and barely understand my own macros once they are written, so please "be gentle"!

:rolleyes:

Thank you.

Xeroid.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Under ThisWorkbook you have SheetSelectionChange. Right click the sheet tab and choose View Code. That's where SelectionChange is.
 
Upvote 0
Thank you.

:oops:

Thank you. (Yep, I feel dumb!)

I didn't realize that right clicking the sheet tab gave you different options!

"A little knowledge is a dangerous thing".

Regards,

Xeroid.
 
Upvote 0

Forum statistics

Threads
1,214,960
Messages
6,122,479
Members
449,088
Latest member
Melvetica

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