Any VBA experts out there that know the right syntax to pass a control as a parameter of a subroutine?
For example:
Thanks for any help,Code:Private Sub ChangeEnabled(Generic as Textbox)
Generic.Enabled = not(Generic.Enabled)
End Sub
Private Sub Main
Call ChangeEnabled(Me!myTextbox) 'This doesn't work
End Sub
Jeff
