Alert/warning

mpc2123

New Member
Joined
Apr 4, 2018
Messages
1
Hello.

I have a workbook that I would like to display a quick warning if the data is still filtered when I attempt to save or print. For context, we often use filters while constructing the document and then the client will receive the pdf as the product. Every now and again it gets pdf'd while one or multiple columns have been filtered w/o someone noticing and the client receives an incomplete version of the schedule. Is this possible?
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Welcome to the Forum!

Two suggestions:

1. Have a warning cell that tests whether, say, COUNT(A:A)=AGGREGATE(3,5,A:A) and, if not, displays a warning message: "Make sure you unfilter before you print or save!"

2. If you're happy to use VBA (?) write code for the Workbook_BeforePrint and Workbook_BeforeSave events to turn filtering off before the print/save happens.
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,588
Members
449,089
Latest member
Motoracer88

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