This is a followup question to this:
VB - How do I test if optional arguments are supplied or not?
If my input type is a string (not a variant), is there any way to check if it was missing? The best I found so far is to enter a very unlikely input as my default.
Function func (Optional arg As String = "VeryUnlikelyInput")
If arg = "VeryUnlikelyInput" Then
MsgBox "NOT SENT"
End If
End Function