Using Values in text boxes to identify names

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a box named S1 and want it to disappear when S1 is typed into a text
box and a button clicked.
i am calling the text box contents into a string. then i want to use this
string in the selection of the box.

So far within the click button commands i have
Dim Selection As String
Selection = TextBoxContents (where in this case text box contains the value
S1)
Selection.Visible = False (This is where i need the correct notation to call
in the string)
 
Thanks i'm half way there now. the box does disappear except i want to use it
in an if...then...else...endif statement and i'm also getting an error
message stating,
"Object doesn't support this property or method."
 
Back
Top