Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default vba code protection

In an addin, I am wondering if the following procedure would give good
security to the VBA macro code:

1. strong password
2. If Not ThisWorkbook.IsAddin Then ThisWorkbook.Close SaveChanges: = False


If this is not secure, perhaps there is a way to do the same thing if anyone
uses the correct password.

Anyone have an opinion --- suggestion??

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default vba code protection

Project passwords can be removed without using excel.

Event procedures can be turned off at will.

I don't think that there is a way to really protect your Addin if you write in
in VBA.



Paul wrote:

In an addin, I am wondering if the following procedure would give good
security to the VBA macro code:

1. strong password
2. If Not ThisWorkbook.IsAddin Then ThisWorkbook.Close SaveChanges: = False

If this is not secure, perhaps there is a way to do the same thing if anyone
uses the correct password.

Anyone have an opinion --- suggestion??


--

Dave Peterson
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
Put Password Protection in Code Connie Excel Discussion (Misc queries) 3 October 25th 06 08:06 PM
Sheet Protection and XLA code Datasort Excel Programming 0 October 21st 05 06:18 PM
Code for workbook protection Ant Excel Discussion (Misc queries) 2 July 1st 05 12:58 PM
VBA code protection in Excel VBA code protection in Excel Excel Programming 4 November 21st 04 05:13 AM
VBA code delete code but ask for password and unlock VBA protection WashoeJeff Excel Programming 0 January 27th 04 07:07 AM


All times are GMT +1. The time now is 03:06 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"