C
chief
I am wondering if it's possible to have text font return to automati
(black) when someone enters their name in my password textbox an
clicks OK.
Here's the layout. I have a userform set up ("Password") which runs o
workbook_open. When it comes up the person must enter their name i
Textbox1 and click OK in order to view the page. In rows D and E, th
text has been manually selected as white in order to hide the contents
Is there a way to set up a code in the Password userform so that:
Private Sub CommandButton1_Click()
If Textbox1.Text = "Mike" Then
Sheet1.Range("D1:E400").Value = (Font color Automatic Black?)
ElseIf Textbox1.Text = "Jen" Then
Sheet1.Range("D1:E500").Value = (Font color White?)
End If
End Sub
Does that make sense, and can it be done
(black) when someone enters their name in my password textbox an
clicks OK.
Here's the layout. I have a userform set up ("Password") which runs o
workbook_open. When it comes up the person must enter their name i
Textbox1 and click OK in order to view the page. In rows D and E, th
text has been manually selected as white in order to hide the contents
Is there a way to set up a code in the Password userform so that:
Private Sub CommandButton1_Click()
If Textbox1.Text = "Mike" Then
Sheet1.Range("D1:E400").Value = (Font color Automatic Black?)
ElseIf Textbox1.Text = "Jen" Then
Sheet1.Range("D1:E500").Value = (Font color White?)
End If
End Sub
Does that make sense, and can it be done