?
Solved

Password-protect my spreadsheet?

Posted on 2012-03-13
4
Medium Priority
?
341 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
[X]
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
  • 2
4 Comments
 
LVL 33

Expert Comment

by:jppinto
ID: 37713868
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:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 2000 total points
ID: 37713870
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
ID: 37714009
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
ID: 37715747
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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 use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

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