Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 44
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 123
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
password protected garyww Excel Worksheet Functions 1 August 17th 06 01:03 PM
Password protected? help!! Jason Excel Worksheet Functions 2 February 24th 06 04:16 PM
How to see macro code of a password protected macro without a password? Dmitry Kopnichev Excel Worksheet Functions 5 October 27th 05 09:57 AM
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. Daniel Excel Worksheet Functions 0 June 23rd 05 11:56 PM
bypass password when update linking of password protected file Yan Excel Discussion (Misc queries) 1 February 7th 05 11:29 PM


All times are GMT +1. The time now is 04:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"