Naming Optional Parameters in VSB

Posted by SteveNeedsSheetNames on Stack Overflow See other posts from Stack Overflow or by SteveNeedsSheetNames
Published on 2010-06-16T00:24:58Z Indexed on 2010/06/16 0:32 UTC
Read the original article Hit count: 268

In Visual Basic, I have Functions with a lot of Optional arguments.
I would like to be able to pass just a few of these Optional arguments
to a Function without having to use numerous commas and spaces to get to the ones I want.
Somewhere I saw a way to name params such as OptVar:=val, but that does not seem to work.
Just wondering if there is a way to do this.
This would help readability.
Thanks in advance for the replies.

© Stack Overflow or respective owner

Related posts about visual-basic

Related posts about optional-arguments