SyntaxFix
Write A Post
Hire A Developer
Questions
in fact, you can, but not that way.
Sub MySub( Optional Byval Counter as Long=1 , Optional Byval Events as Boolean= True) 'code... End Sub
And you can set the variables differently when calling the sub, or let them at their default values.