G
Guest
Hi
I have the following variable
dim test as variant
test="test_control"
now, "test_control" is a textbox
i wanna do this:
msgbox(test.text)
This gives me an error saying object required..blah blah blah
Can any one tell me how to use the variable name in the command?
I can use the same name as the control but i am passing that name to some
function (not shown) as a variable and trying to get the values stored in the
control using the variable.
I have the following variable
dim test as variant
test="test_control"
now, "test_control" is a textbox
i wanna do this:
msgbox(test.text)
This gives me an error saying object required..blah blah blah
Can any one tell me how to use the variable name in the command?
I can use the same name as the control but i am passing that name to some
function (not shown) as a variable and trying to get the values stored in the
control using the variable.