Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Encrypt Or Hide Macro

Hi All

Hopefully someone out there can help me!
I have written a macro that will auotomatically retreive fields from a
database. How can i encrypt or totally hide the macro, so that users will
not be able to see what is contained within the macro?

Thx


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Encrypt Or Hide Macro

You can password protect the VBProject. In VBA, go to the Tools
menu, choose VBA Project Properties, then the Protection tab.
There, check the "Lock Project For Viewing" tab, and assign a
password. Note, however, that there are products available that
can defeat the password protection. There is no foolproof way to
protect your VBA code.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Ant Nutting" wrote in message
...
Hi All

Hopefully someone out there can help me!
I have written a macro that will auotomatically retreive fields

from a
database. How can i encrypt or totally hide the macro, so that

users will
not be able to see what is contained within the macro?

Thx




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Encrypt Or Hide Macro

Thx for the help guys


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 244
Default Encrypt Or Hide Macro

You can protect the project where your macro is located.
In project window, right click the project Project properties Protection Ta

----- Ant Nutting wrote: ----

Hi Al

Hopefully someone out there can help me
I have written a macro that will auotomatically retreive fields from
database. How can i encrypt or totally hide the macro, so that users wil
not be able to see what is contained within the macro

Th



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
Encrypting Excel File when Encrypt is Greyed out gene Excel Discussion (Misc queries) 0 May 14th 07 06:26 PM
Encrypt Worksheet Catsmeow3040 Excel Discussion (Misc queries) 0 October 6th 06 03:54 PM
how do encrypt a spreedsheet in excel 2003? Eric K Excel Discussion (Misc queries) 2 April 18th 06 09:04 PM
Need to un-encrypt files Jason Excel Discussion (Misc queries) 3 December 28th 05 12:13 AM
Encrypt Text in Excel Marc Excel Discussion (Misc queries) 1 June 3rd 05 02:36 AM


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