What Application Events fire on a Sheet name change?

BrighterLater

Board Regular
Joined
Sep 16, 2005
Messages
114
Please can you tell me what Application Events fire when I rename a sheet?
I was expecting Sheetchange to fire but it does not seem to
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
There are none, as far as I know.

The SheetChange event is for changes in the cells on that sheet, not the sheet name itself.
 
Upvote 0
<strike>AFAIK, Kristy is correct, no events fire when sheets get renamed. You'd have to create a static or module-level array of sheet names and compare it during some other event like SheetSelectionChange or SheetActivate and so forth.</strike> {...nevermind - Tom's got it covered...}
 
Upvote 0
Ok, to specify: there are no *built in* events that will be triggered on a sheet name change. :)
 
Upvote 0
Thanks for all the help. The constancy of the codename property is exactly what I was looking for. I have a collection which contains an object for each sheet and each object contains several properties for the sheet. By referencing this collection by the codename I can do what I want and handle new sheets, deleted sheets and sheet name change. Many thanks
 
Upvote 0

Forum statistics

Threads
1,211,772
Messages
6,103,881
Members
447,883
Latest member
bennazi

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