S
StefWork
Hi all,
I have 10 TextBox and a command button on an Excel Sheet
I don't want to do this in my code...
if IsNumeric(TextBox1.Value) and IsNumeric(TextBox2.Value) etc....
What I want to do is something like that :
For Each Component in Components
if (Component is TextBox) and IsNumeric(Component.Value) then
MsgBox Component.Name
end if
Next
Is this possible ? Any examples ?
Thanks+ACE-
I have 10 TextBox and a command button on an Excel Sheet
I don't want to do this in my code...
if IsNumeric(TextBox1.Value) and IsNumeric(TextBox2.Value) etc....
What I want to do is something like that :
For Each Component in Components
if (Component is TextBox) and IsNumeric(Component.Value) then
MsgBox Component.Name
end if
Next
Is this possible ? Any examples ?
Thanks+ACE-