Passing a TextBox control as a Parameter to a Function

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

Hi.
I want to make a function that will accept a control. How
do I pass a control to a function?

-Jim
 
declare the variable as a control, object, or variant type in the function
ex:
Public Function PassControl(ctl As Access.Control)
 
Back
Top