Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I havea password protected workbook. I wrote some code to automate some
tasks and have embedded the password in the code to unprotect where necessary. Code works fine. Question is how to protect the code to protect password from bein discovered? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Inside the VBE:
Select the project associated with your workbook Tools|VBAProject Properties Protection tab. But this (like any password) can be broken pretty easily by anyone with enough cash to buy a password breaker or anyone who can search the web for the right combination of keywords. Greg Sottile wrote: I havea password protected workbook. I wrote some code to automate some tasks and have embedded the password in the code to unprotect where necessary. Code works fine. Question is how to protect the code to protect password from bein discovered? -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
ps. After you supply a password (and lock the project from viewing), save the
workbook, close the workbook, and then open the VBE to see if you can view the project. pps. Remember your password. You don't want to be one of those people who have to purchase a password breaker or search the web! Dave Peterson wrote: Inside the VBE: Select the project associated with your workbook Tools|VBAProject Properties Protection tab. But this (like any password) can be broken pretty easily by anyone with enough cash to buy a password breaker or anyone who can search the web for the right combination of keywords. Greg Sottile wrote: I havea password protected workbook. I wrote some code to automate some tasks and have embedded the password in the code to unprotect where necessary. Code works fine. Question is how to protect the code to protect password from bein discovered? -- Dave Peterson -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Dave Peterson wrote in
: ps. After you supply a password (and lock the project from viewing), save the workbook, close the workbook, and then open the VBE to see if you can view the project. pps. Remember your password. You don't want to be one of those people who have to purchase a password breaker or search the web! Dave Peterson wrote: Inside the VBE: Select the project associated with your workbook Tools|VBAProject Properties Protection tab. But this (like any password) can be broken pretty easily by anyone with enough cash to buy a password breaker or anyone who can search the web for the right combination of keywords. Greg Sottile wrote: I havea password protected workbook. I wrote some code to automate some tasks and have embedded the password in the code to unprotect where necessary. Code works fine. Question is how to protect the code to protect password from bein discovered? -- Dave Peterson Its also worth pointing out that if you protect your code on say XL2003 you wont be able to unprotect it in XL97. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I think the change in protection (encryption algorithms???) started with
xl2k--not just xl2003. Steve J wrote: <<snipped Its also worth pointing out that if you protect your code on say XL2003 you wont be able to unprotect it in XL97. -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
When all is said and done, it will take a knowledgeable person about 5
minutes to discover your "hidden" password. Greg Sottile wrote: I havea password protected workbook. I wrote some code to automate some tasks and have embedded the password in the code to unprotect where necessary. Code works fine. Question is how to protect the code to protect password from bein discovered? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Password Protect Excel Options | Excel Discussion (Misc queries) | |||
How do I password protect an excel workbook? | Excel Discussion (Misc queries) | |||
How can protect an Excel spreadsheet with a password | Excel Discussion (Misc queries) | |||
Excel - password protect error | Excel Discussion (Misc queries) | |||
Password protect a sheet without Macros | Excel Discussion (Misc queries) |