ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Prevent end users from manually running or recording macros (https://www.excelbanter.com/excel-programming/301399-re-prevent-end-users-manually-running-recording-macros.html)

Township of East Hanover

Prevent end users from manually running or recording macros
 
you can put something like this in a file that excel loads at startup:

Application.CommandBars("Edit").Controls("Delete.. .").Enabled = False

The above command disables the delete option under the edit menu. You can
then hide the file that excel loads at startup so that the users can't find
it to change it.

Rui

"Bill Murphy" wrote in message
...
End users can manually run macros or record new ones by selecting
Tools/Macros while in the workbook. Is there a way to password protect

the
Macros choice on this menu so that only the system administrator or other
authorized users can do this?

Bill






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

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