C
chief
I am trying to devise a code that will allow me to show only particula
columns in a spreadsheet, or that will hide particular columns in
spreadsheet. I have set up a password form and i have a question.
When I run this and the person puts the name in as "john" and th
selection clears its contents, what code can i use so that when someon
enters the name "joe" then the values that were in those cells wil
return to their original selves. I guess sort of like a temporar
hiding of the values?
Private Sub CommandButton1_Click()
If TextBox1.Text = "john" Then
UserForm1.Hide
Sheet1.Range("C3
113").Select
Selection.ClearContent
columns in a spreadsheet, or that will hide particular columns in
spreadsheet. I have set up a password form and i have a question.
When I run this and the person puts the name in as "john" and th
selection clears its contents, what code can i use so that when someon
enters the name "joe" then the values that were in those cells wil
return to their original selves. I guess sort of like a temporar
hiding of the values?
Private Sub CommandButton1_Click()
If TextBox1.Text = "john" Then
UserForm1.Hide
Sheet1.Range("C3

Selection.ClearContent