ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   password protected macro (https://www.excelbanter.com/excel-discussion-misc-queries/131011-password-protected-macro.html)

mcphc

password protected macro
 
Is it possible to allow a user to run a macro but not allow the user to view
the macro code unless they know the password.

Thanks

Mike

password protected macro
 
Alt+ F11 to open VBA editor then Tools - VBA project properties - protection
and lock project for viewing and apply a password will do what you require.

Mike

"mcphc" wrote:

Is it possible to allow a user to run a macro but not allow the user to view
the macro code unless they know the password.

Thanks


mcphc

password protected macro
 
That's it Mike, cheers for that

"Mike" wrote:

Alt+ F11 to open VBA editor then Tools - VBA project properties - protection
and lock project for viewing and apply a password will do what you require.

Mike

"mcphc" wrote:

Is it possible to allow a user to run a macro but not allow the user to view
the macro code unless they know the password.

Thanks


Mike

password protected macro
 
Your welcome and thanks for the feedback

"mcphc" wrote:

That's it Mike, cheers for that

"Mike" wrote:

Alt+ F11 to open VBA editor then Tools - VBA project properties - protection
and lock project for viewing and apply a password will do what you require.

Mike

"mcphc" wrote:

Is it possible to allow a user to run a macro but not allow the user to view
the macro code unless they know the password.

Thanks


BOSS

password protected macro
 
Cheers.. !!
Its helpes me too..

Boss

"mcphc" wrote:

That's it Mike, cheers for that

"Mike" wrote:

Alt+ F11 to open VBA editor then Tools - VBA project properties - protection
and lock project for viewing and apply a password will do what you require.

Mike

"mcphc" wrote:

Is it possible to allow a user to run a macro but not allow the user to view
the macro code unless they know the password.

Thanks


Don Guillett

password protected macro
 
You should always be aware that the password is no problem for experienced
users to crack.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Boss" wrote in message
...
Cheers.. !!
Its helpes me too..

Boss

"mcphc" wrote:

That's it Mike, cheers for that

"Mike" wrote:

Alt+ F11 to open VBA editor then Tools - VBA project properties -
protection
and lock project for viewing and apply a password will do what you
require.

Mike

"mcphc" wrote:

Is it possible to allow a user to run a macro but not allow the user
to view
the macro code unless they know the password.

Thanks




All times are GMT +1. The time now is 03:07 PM.

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