Strings
Me.Controls(str).Value = True
BTW you cannot set a checbox value to 10, just True or False.
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Aran" wrote in message
...
Hello
I have a question about strings
How do i make the value runnable
ex.
str = "checkbox1"
and i like to use the string instead of the name checkbox1
and do this
checkbox1.value = 10
or if the string contain a name of a funktion how to run that with the
string
i hope you understand my question
thanks
|