S
Souris
I would like to have a function to take care of the controls from calling
function. I am not sure what kind variable I have to pass.
For example,
function ValidateMyControl( MyControl as Combobox)
Mycontrol.setfocus
If MyControl.text ="" then
MsgBox("Please enter the value", vbOKOnly)
end if
end function
Above function only works for combobox, I need have one function for every
controls.
Are there any ways to have one function to take care all the controls?
Or I have to have one function per type controls?
Your information is great appreciated,
function. I am not sure what kind variable I have to pass.
For example,
function ValidateMyControl( MyControl as Combobox)
Mycontrol.setfocus
If MyControl.text ="" then
MsgBox("Please enter the value", vbOKOnly)
end if
end function
Above function only works for combobox, I need have one function for every
controls.
Are there any ways to have one function to take care all the controls?
Or I have to have one function per type controls?
Your information is great appreciated,