title: VBA - How do I test if optional string arguments are supplied or not?
body: <p>This is a followup question to this:</p>
  
  <p><a href="https://stackoverflow.com/questions/1660772/vb-how-do-i-test-if-optional-arguments-are-supplied-or-not">VB - How do I test if optional arguments are supplied or not?</a></p>
  
  <p>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.</p>
  
  <pre><code>Function func (Optional arg As String = "VeryUnlikelyInput")
  
      If arg = "VeryUnlikelyInput" Then
          MsgBox "NOT SENT"
      End If
  
  End Function
  </code></pre>