Ok,

I am trying to pass a Control object to a sub but I get this error on the line of the function call

Error 438: "Object doesn't support property or method"

it fails on this line
Code:
DisableControl(cmdApply)
here's the function heading
Code:
sub DisableControl(ctl as Control)
...
End Sub
can anyone provide input as to why this doesn't work?
The error it gives has me to believe that VB can't find the method in the class but I'm not trying to add a class method. I'd just like to reference the object in the procedure. Thanks