MatthewBell
Technical User
Hi there
Not sure if this is possible but it's gotta be worth asking.
I'd like to put a command button on a sheet which, when clicked, locks a load of option buttons, text boxes and some cells. Protecting the sheet so that the next user cannot alter it (it's a questionnaire and the customers answers need to be protected). Following the command button click it needs to prompt for a password which is then required to unlock the various ActiveX controls.
Also to further complicate things the cells containing my companies data are already locked and the sheet protected when the questionnaire is sent out to the customer. This can be altered, perhaps the code unprotecting the sheet at the start and protecting it again at the end if necessary.
Any help would be much appreciated, especially if its the code required to protect an ActiveX controls setting.
Many thanks
Matt![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Not sure if this is possible but it's gotta be worth asking.
I'd like to put a command button on a sheet which, when clicked, locks a load of option buttons, text boxes and some cells. Protecting the sheet so that the next user cannot alter it (it's a questionnaire and the customers answers need to be protected). Following the command button click it needs to prompt for a password which is then required to unlock the various ActiveX controls.
Also to further complicate things the cells containing my companies data are already locked and the sheet protected when the questionnaire is sent out to the customer. This can be altered, perhaps the code unprotecting the sheet at the start and protecting it again at the end if necessary.
Any help would be much appreciated, especially if its the code required to protect an ActiveX controls setting.
Many thanks
Matt
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)