Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Controlling the file
I have a setup to control a file as follows:
User opens FileOne.xls : FileOne has a Macro to open FileTwo.xls. The VBA is password protected. FileTwo.xls has a password on the file. I am the only one with the password for FileTwo.xls and therefore the users have to use FileOne.xls Macro to open FileTwo.xls. I do this to force the user to use the macros in FileTwo. Now when the user is in FileTwo.xls they can change the password under Menu Tools / Options / Security. I do not want this. What do I need to do so a user cannot change the password on the passworded file. It does not make sense to me that a user could just go to Menu / Tools / Options / Security and change the password. You cannot just disable the Tools on the menu because a user could just open a new file and write code to enable it again. How do I fix this? Thank you, Steven |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Controlling the file
As far as the password goes, I've found code on line that unlocks
workbooks/worksheets that are password protected, so I'm guessing you're out of luck there. Maybe someone else has an idea. -- HTH, Barb Reinhardt "Steven" wrote: I have a setup to control a file as follows: User opens FileOne.xls : FileOne has a Macro to open FileTwo.xls. The VBA is password protected. FileTwo.xls has a password on the file. I am the only one with the password for FileTwo.xls and therefore the users have to use FileOne.xls Macro to open FileTwo.xls. I do this to force the user to use the macros in FileTwo. Now when the user is in FileTwo.xls they can change the password under Menu Tools / Options / Security. I do not want this. What do I need to do so a user cannot change the password on the passworded file. It does not make sense to me that a user could just go to Menu / Tools / Options / Security and change the password. You cannot just disable the Tools on the menu because a user could just open a new file and write code to enable it again. How do I fix this? Thank you, Steven |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Controlling how a second excel file opens | Excel Programming | |||
Controlling scroll bars in file dialog | Excel Programming | |||
Controlling VB executable from Excel File | Excel Programming | |||
Controlling Workbook File Size? | Excel Discussion (Misc queries) | |||
Controlling VBA | Excel Programming |