Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to protect a macro. i.e not allow macro changes

I want the user to be able to run a macro, but can not make any changes in
the macro.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default How to protect a macro. i.e not allow macro changes

You can protect the VBA Project. In the VBA Editor, go to the Tools menu,
choose VBA Project Properties, then choose the Protection tab. There, check
the "Lock Project For Viewing" and enter a password.

Note that all forms of protection in Excel are very weak. There are many
Tools available that will break passwords. I use XLKey and VBAKey from
Passware, and they can break passwords in a matter of seconds.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email on the web site)

"Fadi Haddad" <Fadi wrote in message
...
I want the user to be able to run a macro, but can not make any changes in
the macro.



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
Protect macro ST Excel Discussion (Misc queries) 1 June 6th 06 06:26 PM
Protect a Macro Darin Kramer Excel Programming 5 May 9th 06 05:09 PM
protect a macro kwiklearner[_11_] Excel Programming 2 March 30th 06 02:42 PM
Protect Macro Joe Excel Programming 1 August 13th 04 07:19 AM
protect a macro rbanks[_8_] Excel Programming 2 November 21st 03 09:03 PM


All times are GMT +1. The time now is 01:21 AM.

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"