Hello
I'd like to pass a control to a function for further processing - but I can't make it work.
Which is the correct parameter type?
This doesn't work (just an example):
This code would be called from a control the following way:![]()
Sub ChangeColor(ByRef c As Controls) MsgBox TypeName(c) End Sub
Is this possible?![]()
Call ChangeColor(ActiveControl)
Bookmarks