Confidentiality Warning on File Open

twintrbl23

New Member
Joined
Mar 12, 2007
Messages
29
The legal folks at my company want me to add a confidentiality warning that will pop up whenever a particular file is opened. It contains some very key proprietary information in it, and they want the users to at least have the warning appear when they open it to let them know that by continuing to open the file, the acknowledge that the information included is protected and unlawful distribution can be prosecuted, etc....

The only way I know of (using Excel 2010) to do this is to put a macro in the OnOpen event with a MessageBox. Unfortunately, that will also create another warning message for the file asking whether to enable macros. And if they choose No (or have macro security set to always disable macros), then they'll bypass the legal warning.

I keep hoping there's some new function in Excel 2010 that would let me do this without either using a macro for it, or forcing the file to open with macros enabled.

Any suggestions? Or am I stuck?

Thanks!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
You're stuck.

You can't programmatically enable macros, otherwise security would be meaningless.

But it's generally not a problem having Macros enabled.

Alternatively, you could add a sheet with the warning in it.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,304
Messages
5,641,430
Members
417,209
Latest member
Agbarker

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
Top