Hi, I have a public sub in a module (Call it module1). In form1 I have a button and Onclick event I code: Call module1.sub However, I get a compile error: argument not optional
Please help me Thank you verymuch
Kevin Robertson
@Reply 4 years ago
You don't need to reference the module. As long as the Sub Routine is Public just call it by its name.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Visitor Forum.