optional argument

S

smk23

I have a function and would like to optionally pass in the name of a form.
For other optional arguments, I use something like

Optional lngNumber as long = 0

Since a form is an object and needs to be set, can I use this as an optional
argument and if so, how do I set it (what's the syntax)?
 
Top