I have a form named ContactsForm with a button at the bottom. Once its clicked, it runs an event procedure.
Public Function GET_MESGS(Message As String, Number As String) As String
Dim Message As String
Dim Number As String
....
End Function
Private Sub Command1_Click()
Call GET_MESGS
End Sub
But once its click it just throws me an error. Obviously I'm not calling the function correctly. I want to call the function with values from the form.