Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Zagrijs Venter
 
Posts: n/a
Default How do I protect Visual Basic for Application Code

I have noticed that MS's templates and other Excel files received from other
sources needs a password to open the VBA source code. I have been unable to
find any assistance from OLH or figure it out on m,y own how to protect my
VBA source code. Any help appreciated.

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Open excel
open your workbook
hit alt-f11 (to get to the vbe)
hit ctrl-r (to see the project explorer)
with your project selected in the project explorer
Tools VBAProject Properties
Protection tab.



Zagrijs Venter wrote:

I have noticed that MS's templates and other Excel files received from other
sources needs a password to open the VBA source code. I have been unable to
find any assistance from OLH or figure it out on m,y own how to protect my
VBA source code. Any help appreciated.


--

Dave Peterson
  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

However, you should recognize that there are ways to disable this
protection in a matter of seconds, including inexpensive commercial
crackers.

In article ,
Dave Peterson wrote:

Open excel
open your workbook
hit alt-f11 (to get to the vbe)
hit ctrl-r (to see the project explorer)
with your project selected in the project explorer
Tools VBAProject Properties
Protection tab.

  #4   Report Post  
Zagrijs Venter
 
Posts: n/a
Default

Thanks to both replies

Zagrijs

"JE McGimpsey" wrote:

However, you should recognize that there are ways to disable this
protection in a matter of seconds, including inexpensive commercial
crackers.

In article ,
Dave Peterson wrote:

Open excel
open your workbook
hit alt-f11 (to get to the vbe)
hit ctrl-r (to see the project explorer)
with your project selected in the project explorer
Tools VBAProject Properties
Protection tab.


  #5   Report Post  
ZsO
 
Posts: n/a
Default

Hi,
Is there any way to really protect my work (VBA code)? I am also interested
in protect my MS Excel VBA work under Mac OS X!

Thank you for any help!


"JE McGimpsey" wrote:

However, you should recognize that there are ways to disable this
protection in a matter of seconds, including inexpensive commercial
crackers.

In article ,
Dave Peterson wrote:

Open excel
open your workbook
hit alt-f11 (to get to the vbe)
hit ctrl-r (to see the project explorer)
with your project selected in the project explorer
Tools VBAProject Properties
Protection tab.




  #6   Report Post  
Mangus Pyke
 
Posts: n/a
Default

On Wed, 3 Aug 2005 08:26:12 -0700, ZsO wrote:
Is there any way to really protect my work (VBA code)? I am also interested
in protect my MS Excel VBA work under Mac OS X!


Launch the VB Editor.

Right-click the module and select properties.

There's a password field to prevent viewing.

MP-
--
"Learning is a behavior that results from consequences."
B.F. Skinner
  #7   Report Post  
Ken Wright
 
Posts: n/a
Default

But that can be bypassed if you know how, so don't necessarily rely on it to
protect the crown jewels.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------


"Mangus Pyke" wrote in message
...
On Wed, 3 Aug 2005 08:26:12 -0700, ZsO wrote:
Is there any way to really protect my work (VBA code)? I am also
interested
in protect my MS Excel VBA work under Mac OS X!


Launch the VB Editor.

Right-click the module and select properties.

There's a password field to prevent viewing.

MP-
--
"Learning is a behavior that results from consequences."
B.F. Skinner



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
Make Change Case in Excel a format rather than formula Kevin Excel Worksheet Functions 1 March 18th 05 08:53 PM
Trust access to visual basic project greyed out Amit Shanker Excel Discussion (Misc queries) 2 March 5th 05 09:41 PM
I Visual Basic Error "File Not Found" when Excel opens Brent E Excel Discussion (Misc queries) 1 March 2nd 05 03:20 AM
Visual Basic Error Message Scubasocks Excel Discussion (Misc queries) 0 January 28th 05 03:29 PM
Visual Basic Code Remains in "memory" Paul Moles Excel Worksheet Functions 1 December 10th 04 10:29 PM


All times are GMT +1. The time now is 02:38 AM.

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

About Us

"It's about Microsoft Excel"