Executing code from a command button

DougW

New member
Local time
Today, 20:54
Joined
Mar 5, 2002
Messages
6
Is there a way to execute a function from a command buttons "OnClick" property without calling it from a macro?

Thanks,
DougW
 
You can open a procedure On_Click (choose Procedure in the list of choices for the event), then write you function and its parameters in this sub.
Or you can write your function directly in the On-Click property of the form:
= YourFunctionName(Argument1;Argument2...)

HTH

Alex
 

Users who are viewing this thread

Back
Top Bottom