ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   Disable Macros --> Close File (https://www.excelbanter.com/setting-up-configuration-excel/42082-disable-macros-%3E-close-file.html)

[email protected]

Disable Macros --> Close File
 
Hi all,

I have searched and searched and have not come up with an answer;
hoping someone can help.

I have an Excel application that I am going to distribute to employees
at my company. It contains macros, and the users should never see the
worksheets behind it. However, I don't want to ask them to set their
Macro Security at Low, so it is set to medium.

Problem: When prompted to Enable or Disable macros, if the user clicks
Disable, I want the file to close. Currently the worksheet appears.

Anything I can do?

TIA


Anne Troy

This is fairly common. Check this out. Probably a good answer for you:
http://vbaexpress.com/kb/getarticle.php?kb_id=578
************
Anne Troy
www.OfficeArticles.com

wrote in message
oups.com...
Hi all,

I have searched and searched and have not come up with an answer;
hoping someone can help.

I have an Excel application that I am going to distribute to employees
at my company. It contains macros, and the users should never see the
worksheets behind it. However, I don't want to ask them to set their
Macro Security at Low, so it is set to medium.

Problem: When prompted to Enable or Disable macros, if the user clicks
Disable, I want the file to close. Currently the worksheet appears.

Anything I can do?

TIA




[email protected]

Thanks Anne. That worked great.


Anne Troy

Glad to hear it!
************
Anne Troy
www.OfficeArticles.com

wrote in message
oups.com...
Thanks Anne. That worked great.





All times are GMT +1. The time now is 09:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com