Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A procedure call supplies an argument by name after omitting the same argument by position. The following is an example:
Public Sub ABC(ByVal X As Byte, Optional ByVal Y As Byte = 0, _
Optional ByVal Z As Byte = 0)
' ...
' Argument Y is omitted by position, but supplied by name.
Call ABC(6, , Y:=3)
Error ID: BC36566
To correct this error
- Supply the argument by position, or remove the comma that omits it.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.