rguKi‖

RA8tP‖Optional (in Function Statement)

Ebzjt‖Allows you to define parameters that are passed to a function as optional.

sshCf‖See also: IsMissing

rCRu8‖Syntax:


FCbGu‖Function MyFunction(Text1 As String, Optional Arg2, Optional Arg3)

m7ttM‖Examples:


    PWFN7‖Result = MyFunction("Here", 1, "There") ' all arguments are passed.
    QD4Cn‖Result = MyFunction("Test", ,1) ' second argument is missing.

FaFyC‖See also Examples.