Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Password Protect Macro

I understand that the only way to protect project/macro is to open the VBA
Editor, go to the Tools menu, choose VBA Project Properties, then the
Protection tab. There, check the "Lock Project For Viewing" option and supply
a password. But VBA passwords can be cracked using software readily available
on the net.

I want to be able to distribute the spreadsheets with the macro but deny the
user access to the macro.

What would be the best/easiest way to create a standalone application? Could
the existing code be imported directly or would modifications be required?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Password Protect Macro

You could create a Com or Automation addin. That is done via VB or C/C++
or... That will create a compiled executable. To get it into VB or whatever
language you choose will require some modifications. There is some excellent
inof out there on createing com and automation addins.
--
HTH...

Jim Thomlinson


"Dan" wrote:

I understand that the only way to protect project/macro is to open the VBA
Editor, go to the Tools menu, choose VBA Project Properties, then the
Protection tab. There, check the "Lock Project For Viewing" option and supply
a password. But VBA passwords can be cracked using software readily available
on the net.

I want to be able to distribute the spreadsheets with the macro but deny the
user access to the macro.

What would be the best/easiest way to create a standalone application? Could
the existing code be imported directly or would modifications be required?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Password Protect Macro

Thanks. I iwll look into it.

"Jim Thomlinson" wrote:

You could create a Com or Automation addin. That is done via VB or C/C++
or... That will create a compiled executable. To get it into VB or whatever
language you choose will require some modifications. There is some excellent
inof out there on createing com and automation addins.
--
HTH...

Jim Thomlinson


"Dan" wrote:

I understand that the only way to protect project/macro is to open the VBA
Editor, go to the Tools menu, choose VBA Project Properties, then the
Protection tab. There, check the "Lock Project For Viewing" option and supply
a password. But VBA passwords can be cracked using software readily available
on the net.

I want to be able to distribute the spreadsheets with the macro but deny the
user access to the macro.

What would be the best/easiest way to create a standalone application? Could
the existing code be imported directly or would modifications be required?

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 protect macro Modell Excel Programming 3 April 27th 06 08:59 PM
Password Protect Macro? ryanmhess Excel Programming 4 January 27th 06 04:56 PM
Password Protect Running of Macro John Excel Programming 8 September 27th 05 02:49 AM
Macro to protect/unprotect with password Cam Excel Programming 3 July 26th 05 10:36 PM
Password protect macro Pete Excel Programming 2 April 16th 04 03:44 AM


All times are GMT +1. The time now is 01:02 PM.

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"