-
How (or is it possible) to evaluate an expression that is a string? i.e.
Dim myObject As String
myObject = "Text1"
Eval(myObject).Visible = False
Cheap example but...
------------------
Tom Young, 14 Year Old
[email protected]
ICQ: 15743470 Add Me ICQ Me
AIM: TomY10
PERL, JavaScript and VB Programmer
-
Tom,
You can use Controls collection to do what you want:
Dim strMyObject As String
strMyObject = "Text1"
Form1.Controls(strMyObject).Visible = False
------------------
Serge
Software Developer
[email protected]
[email protected]
ICQ#: 51055819