Jul 25 2022 08:32 PM
I have a worksheet with macro control. Other than control, the whole sheet is "locked" and password protected. When clicking on the control, I want to change some values in the worksheet (via VB code) w/o the "supply password" dialogue box coming up - yet I don't want to put a line of code in the VB that "supplies" the password as that would make it to easy for users to view.
How can this be accomplished?
Jul 26 2022 04:43 AM
Jul 27 2022 07:53 PM
Yes that would help... suggestion?
Jul 28 2022 01:55 AM
@INeedHelpSoon Sure, something like:
Sub ChangeSomething()
ActiveSheet.Unprotect "PasswordGoesHere"
Range("C3").Value = "Entry Into cell C3"
ActiveSheet.Protect "PasswordGoesHere"
End Sub