Hi,
I have 6 public variables as strings and just below where they are defined I have the following code:
All works fine however I am trying to create a small Admin form which allows a user to change the password. On the I have check boxes which relate to the different password. When check box 1 is ticked for example it enables a text box. The user then can type in the new password and click ok.
The problem is that it is not setting the new password value.
Here is the code I have:
Can anyone help?
I have 6 public variables as strings and just below where they are defined I have the following code:
Code:
Sub SetVariables()
pass1 = "one"
pass2 = "two"
pass3 = "three"
pass4 = "four"
pass5 = "five"
pass6 = "six"
End Sub
All works fine however I am trying to create a small Admin form which allows a user to change the password. On the I have check boxes which relate to the different password. When check box 1 is ticked for example it enables a text box. The user then can type in the new password and click ok.
The problem is that it is not setting the new password value.
Here is the code I have:
Code:
pass1 = Text21.Value
Can anyone help?