I am trying to send the current form name to a function when the OnCurrent event occurs. I am currently using the following code which is producing an error:
and in my vba module...
Function LoadArray(FormName As Form)
Set CurrentForm = FormName
The error I am getting is "The object doesn't contain the automation object 'Me.'"
Where am I going wrong? Thanks in advance