Hi!
I’m usually an Access programmer, so maybe I’m trying to do something I can’t….Anyway, I have a program I built in Excel. Basically, each sheet ends up being one year, with cells linked between the sheets so that the totals flow from one to the other. As the user needs a new year, they click a button and hte next year is created. All well and good.
Now here’s where it falls apart: what if the user deletes a sheet, for example the first sheet where everything starts? Then all the carryforwards get messed up. So what I’d like to do is to trap the event when the user goes to delete a worksheet, then before it’s actually deleted I can convert the cells in the next year (the following worksheet) into values, so the following worksheets won’t all end up with errors. Does that make sense?
In essence, what I’m looking for is a “Before Delete” event, or at least something to trap the user’s right click on the worksheet tab. (The Worksheet Right Click event didn’t work for the tab.)
Any ideas?
Thanks!
Cecilia