Using Values in text boxes to identify names

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)
 
G

Guest

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."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top