Forgetting Worksheets are Grouped and Making Changes

bmhumphries

New Member
Joined
Mar 2, 2009
Messages
26
The answer may be "Just don't do that anymore", but I am wondering if there is a solution to this. It happened to me today, and now it just happened to a coworker.

When we print multiple sheets at the same time, I often select the tabs that I want to print and then print. What happens is that I run to the printer and when I come back after reviewing the print decide changes need to be made or further calculations.

So I get to work making changes, only to discover after a lot of work I still have multiple pages selected and the changes were made on all the sheets!

My question is, some setting in excel or some code one could add to an add-in that will warn you when you are making changes when multiple sheets are selected?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
You could use a worksheet selection change event for the workbook and put in this code maybe:

Code:
If activewindow.SelectedSheets.Count > 1 then msgbox "You have more than one sheet selected!"
Of course you would probably want to make it a little more elaborate than that, but I am afraid that if you work with more sheets selected more than just once, this would get very tedious and annoying. But I believe you would need to put this in each workbook for thiswrokbook code as I don't think you can make event code an add-in? Not positive on that though.
 
Upvote 0

Forum statistics

Threads
1,225,397
Messages
6,184,716
Members
453,254
Latest member
topeb

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