title: VBA Call method with optional parameters
body: <p>I just figured out that setting optional parameters requires "Call" infront of the method.</p>
  
  <pre><code>Public Sub Test()
  
      Call abc("aaa")
      Call abc("aaa", 2)
  
      abc("aaa") ' is fine
      abc("aaa", 2) ' is a syntax error
  
  End Sub
  
  
  Function abc(a As String, Optional iCol As Long = 3)
  
      MsgBox (iCol)
  
  End Function
  </code></pre>
  
  <p>Can you add a "why does this make sense?" to my new information?</p>
  
  <p>Greetings,
  Peter</p>
  
  <p>Edit: PS the function abc for no other use than to simplify the question.</p>