Securing an Excel XLSM file

Posted on 2015-01-22
Last Modified: 2015-01-26
A friend has spent quite a lot of money developing a complex, interactive report based on data downloaded into Excel that will be sold to his clients. We would like to lock down or encrypt the XLSM file so that competitors cannot access the IP but user clients can still manipulate the cube data.

A google search for “secure Excel spreadsheet” brought up products such as DoneEx XCell Compiler (, Mirage All-In-One Protector (, Spreadsheet Sentry (, XLSafe CORE & VBASafe from DataSafeXL (, XLS Padlock (, & LockXLS ( on the first couple of pages.

Has anyone here had experience with any such products?

If so, can you please tell me your favourite and why you chose it? Points will be split amongst all those who answer those two questions

Thanks very much,

Question by:243johnm
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Author Comment

ID: 40566207
Thanks aikimark, but I don't understand. I added in Excel as a topic, but there isn't much in Help about Zones ( except an article about Topic Advisors (

LVL 26

Accepted Solution

ProfessorJimJam earned 500 total points
ID: 40566305

there are different ways of protecting the VBA code.

i will try to explain it in details. I develop Excel Add-Ins and it was so easy for hackers to steal my work by cracking the VBA protection and unveiling the full code.  i was so disappointed with where i found my work that took months to complete was unfolded in net and i could not do anything about it, but put more security in my Add-Ins.

as you already know, that VBA built-in protection is for no use at all. it can easy be broken,  
another option is blocking the VBA to "project is unviewable" which is done two ways,  by Sharing the workbook in SHared status and then changing it to an Add-In,  this is also not well protected, because some commercial software break this protection too. another option that protects in similar way "project is unviewable"  is by commercial softwares and similarly if it can be protected by commercial software, then it can be broken with similar commerial softwares.

my personal view, the websites you referred, i have used as trial some of them, but again VBA code is still vulnerable.
so, that leaves the followings options.  

using the VBA Obfuscation makes it most likely useless code, if revealed by hackers, however if the activation module of code is not protected by using many shadower lines VBA then even VBA Obfuscation sometimes can be hacked with very advanced hackers. even if they reveal the code, the only benifit they can get is to make the add-in work, however the use of codes will be useless for them, as the Obfuscation cannot be decoded easily. i suggest you read this article here    Some of my friends they used this method and they are happy with it.

another option which is a bit advanced for developer, creating COMM Add-ins using VB6  VSTO and compiling your codes in DLL files, which, i personally believe is more protected. to see more details on this option i suggest you read

another recent post by Spreadsheet1 website,  they are working to complete the full features Secure ++ Delphi Application for securing your VBA in DLL files. it is in beta version for now, i suggest you read

finally, i have seen some smart developers used the services of 
i personally, did not use, so i cannot have more say about lockxls  , however you might wanna explore the options.

hope it helps.

Author Comment

ID: 40566351
Thanks ProfJimJam, much appreciated! Your previous situation is exactly what we are trying to avoid...

As mentioned in my original post, I will wait a while and see if I get multiple suggestions before closing and awarding points. But yours is certainly an excellent start!

Thanks again,

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

LVL 45

Expert Comment

ID: 40566459

That was a great comment.  I've bookmarked it and am going to share it with my Microsoft Office User Group.  This month, we presented a "protecting your Access database".  I think a protecting your VBA code (in non-Access applications) presentation is in order.
LVL 26

Expert Comment

ID: 40566627

Thank you.

Author Closing Comment

ID: 40570161
Thanks very much @ProfessorJimJam, your very complete response is much appreciated, A+!

LVL 26

Expert Comment

ID: 40570231
You are most welcome.

thanks for the feedback.

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question