'Optional' expected

An optional argument in a procedure declaration is followed by a required argument. Every argument following an optional argument must also be optional.

Error ID: BC30202

To correct this error

  1. If the argument is intended to be required, move it to precede the first optional argument in the argument list.

  2. If the argument is intended to be optional, use the Optional keyword.

See Also

Concepts

Optional Parameters