Visual Basic Language Reference  

Optional

The Optional keyword indicates that a procedure argument can be omitted when the procedure is called.

The Optional keyword is used in these contexts:

Declare Statement

Function Statement

Property Statement

Sub Statement

See Also

Visual Basic Language Keywords