Encryption of folder with Add-In

Formula11

Active Member
Joined
Mar 1, 2005
Messages
468
Office Version
  1. 365
Platform
  1. Windows
I've been looking at protecting VBA code from theft and so far it looks like the only real source of protection is to setup a relationship with a new code such as C#.
Realistically I can't see this working ... once you get to the details, without being an expert programmer.
I was wondering if this would work - If the code is in an Add-In, and the addin folder is encrypted.
If so ... (1) Is the level of security higher than password protection offered in Excel (2) Will the addin run from an encrypted folder.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
No, this wouldn't work - you'd need to store the key to decrypt the code somewhere - probably in Excel which gets you back to square 1.
 
Upvote 0
I'm glad you responded since I also read your comments on this thread.
Unviewable+ for excel vba protection

The suggestion was to have an addin that compiles. I'm guessing "compile" requires expert knowledge of other code languages.

What are the options left to someone with knowledge of VBA only?
Do you recommend any of the proprietary software?
 
Upvote 0
No, I can't recommend anything. I've never seen anything that isn't trivial to bypass unless you want to wrap your workbook in an EXE - but there are problems with that as well.

Yes, compiles in that context means write your code in another language - not VBA. This would be re-write, you can't automate this, though anything you do in VBA is possible in other languages
 
Upvote 0
Thanks for responding.
Can you point me in a direction with respect to the EXE, and what the problems are. If there is some literature please send me a link.
 
Upvote 0
Hi Kyle, did you have a recommendation with respect to post #5.
 
Upvote 0

Forum statistics

Threads
1,223,670
Messages
6,173,704
Members
452,528
Latest member
ThomasE

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top