Solved

Password-protect my spreadsheet?

Posted on 2012-03-13
4
306 Views
Last Modified: 2012-08-13
Hi Guys
I am really not too much of an expert when it comes to Excel.
Soooooo
This may be a stupid question.

I have designed a unique Excel spreadsheet which is actually an order-form.
I would like to prevent my business competitors from using or copying my code.
I have been checking the internet and discovered that there is no such a thing as an unbreakable password.
My question.
Is it feasible to use a password-protected spreadsheet that once you hack the password it will run a macro that will erase all the existing code.
If this senario is possibly what would be the code I need to run to achieve my purpose?
Thanks
Dory
0
Comment
Question by:dory550
  • 2
4 Comments
 
LVL 33

Expert Comment

by:jppinto
Comment Utility
No, that's is not possible to do. As you said, there aren't "unbreakable" passwords, not on Excel, not some other programs. There is nothing you can do that will allow you to full protect your code from been hacked. Sorry...
0
 
LVL 50

Accepted Solution

by:
teylyn earned 500 total points
Comment Utility
Hello,

you can protect your workbook with a password (which you know about).

If somebody uses a tool (free or commercial) to crack that password, there is no way that the Excel application can figure out if the password was entered by legitimate means or cracked in some way.

So, no, there is no way to remove all code when the password has been cracked (instead of entered in the regular fashion).

That is simply the risk you will need to take if you develop Excel solutions for a commercial market.

cheers, teylyn
0
 

Author Comment

by:dory550
Comment Utility
Teylyn
Thank you for your input
Maybe I did not make myself totally clear .
This order-form is a disposalble piece of software.  It is just a price-list of about 1000 convenience-store items which we email to all our customers weekly.
It has no commercial value!
There is absolutely no legitimate reason to access the code.
Dory
0
 

Author Closing Comment

by:dory550
Comment Utility
Teylyn
OK
It took a while.
I now understand that cracking a password is actually not an event triggering action
And therefore no module can be deleted unless the user initiates it.
Thanks for your help
Dory
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now