Can I protect an Excel ADDIN with XLS Padlock?

Hello, I have developed an Excel Addin

Can I apply XlsPadLock to an Excel AddIn or it only protects Workbooks?


Currently, we only support workbooks. What is the format of your add-in?

Hi @rolo and @gdgsupport,
I agree. If there was a way to protect .xlam files (Excel Add-Ins), this would likely double your sales, because currently the only true way to protect an add-in is with Add-In Express and it’s expensive and not even VBA language.

If we could protect an Add-In, we could support companies with ongoing product updates and they could depend on our new functions and procedures that they could use in their own workbooks.


Dan Strong, excelvbaisfun

Do you need some VBA compiler to produce protected XLAM files? In other words, a XLAM file that could run code compiled with a compiler similar to the one in XLS Padlock?

Possibly. I’m not sure the technicalities, but an XLAM is just an excel file that is invisibly opened along with the user’s primary excel documents, similar to the personal.xlsb file. It enables people to use its functions or subs, but I believe password hacking programs can surely crack these also, making them just as vulnerable as excel files that you help us protect.




Sure; XLAM has no real protection. The problem is interesting, we’ll check in the future.

The ability to protect an Excel Add-In will be a major thing for me also.

1 Like

Hi @gdgsoft @gdgsupport ,
Do you think you guys could devise a way to protect a Userform so that it could be sold as a product and secured from theft?
Or an addin (as discussed in this feed a couple years ago)?
This will enable excel developers to market their stuff without fear of it all getting stolen. Plus, it will be an amazing new product for GDGSoft. As in, here’s my money, please take it.

You may take a poll, because I promise every one of your customers will flip out for this technology to be available.


XLS Padlock can protect pure userform apps written in Excel. There is an explanation in the user guide about hiding the Excel interface while showing the userform only.

We’re also working on a compiler to make COM add-ins with VBA code (and possibly other scripting languages). It will output stand-alone DLL files ready to be used with Excel. Of course, we have plans to include licensing options into DLL files so that customers can sell their DLL add-ins to others.

That’s awesome. I’d love to be able to sell an add-in that maybe contains some modules and/or userforms or classes so people can use my product but I don’t give away the source code.
Do you know when we can start testing it. Do you need testers? :slight_smile:

I see that you thought about userforms/modules but it would be too complex for the initial release. It’s rather similar to our existing VBA compiler. You write VBA subs and functions into a special editor, they are then compiled into DLL subs and functions that can be invoked from Excel VBA or even as normal Excel functions. Maybe we’ll also add JavaScript script support, it’s something we are exploring too.
And sure, once something gets working, you’ll be invited :wink:

So freaking excited. Thanks, guys!!

Hi @gdgsupport /Guillaume/ anyone,
Any progress on this? So exciting! There’s a lot of people who would like to make addins but can’t because there’s no protection. Here’s some use cases

Plus, I got an email from a guy who wants help with making an add-in, but I told him I don’t have training on that subject just yet and that GDGsoft may have something in the works.

Thanks for all your hard work!
Dan Strong

Right now, no, we are working on releasing XLS Padlock 2022.