I want a help, as i m trying to call a user defined function on button call on form but i am not successful yet. Please give me some solution to this problem!!
Can you describe to us what you have done so far? And what is the name of the function and the button? Without any further information I can't be of much help.
I can say that roughly the steps are to create your function, then in the OnClick event for your button you will need to call the function.
Example:
Code:
Private Sub myButton_Click()
Call myFunction()
End Sub
I think the word Call is optional IIRC, but I usually include it for readability.