I've written a function that uses an optional parameter defined as VbMsgBoxStyle but can't find a way to detect when the parameter is NOT used.
I thought simply doing a "if param = vbEmpty" would work but vbEmpty seems to be the same thing as zero, which is a valid value for that parameter!
Seems like there should be a way to do detect whether the parameter was used at all.
What am I missing?
Thanks for the help,
Ken
I thought simply doing a "if param = vbEmpty" would work but vbEmpty seems to be the same thing as zero, which is a valid value for that parameter!
Seems like there should be a way to do detect whether the parameter was used at all.
What am I missing?
Thanks for the help,
Ken