This documentation is archived and is not being maintained.

Optional (Visual Basic) 

Specifies that a procedure argument can be omitted when the procedure is called.

The Optional modifier can be used in these contexts:

Declare Statement

Function Statement

Property Statement

Sub Statement

Show: