Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA Module Protection by hiding or password

Status
Not open for further replies.

FM1

Structural
Joined
Dec 16, 2001
Messages
67
Location
US
I have asked this question before, and, the one or two responses given were general though much appreciated.

How can I protect the code in ONE single module from being accessed and viewed by the user in an EXCEL workbook and still have the VBA editor and other modules accessible.
Can a single module be hidden by using a "HIDE" method, property..ect. like a worksheet??

Thanks very much

FM
 
No. There is not a way to hide an individual module. You can set a password protection to the VBA Project though. This will allow the developer the ability to access and manipulate the code while hiding the code from the individual users.
 
Depending upon what the to-be-hidden module contains, you might get some joy out of converting it to an add-in. Or, with a bit of restructuring of your code, you might be able to move key parts of it into an add-in.
 
Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top