Solved

Password-protect my spreadsheet?

Posted on 2012-03-13
4
327 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 500 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
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…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

738 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