Public sub

  • Thread starter Thread starter Guest
  • Start date Start date
In your Public Sub, if you have this:
Public Sub(MyArgument As String)
the argument is not optional.

If you want it to be optional, use this:
Public Sub(Optional MyArgument As String)
 
Back
Top