Besides adding a password under Project Properties > Protection (Which I think is actually quite easy to hack), how can I prevent users from viewing / copying my code?
            Asked
            
        
        
            Active
            
        
            Viewed 1,752 times
        
    1 Answers
2
            May be this is the good possibility: http://msdn.microsoft.com/en-us/library/office/aa189867(v=office.10).aspx
To provide the highest level of security for your VBA code, use Microsoft Visual Basic version 6.0 to create a Component Object Model (COM) add-in. Because the VBA code in a COM add-in is compiled as a dynamic-link library (DLL), it can't be modified without access to the source code used to originally create it. Application-specific add-ins are not compiled; you must use the same protections as templates and documents.
 
    
    
        Leo Chapiro
        
- 13,678
- 8
- 61
- 92
 
    