title: Override a Function
body: <p>The following "aMacro" returns the error "Ambiguous name Detected"  I understand why.  Anybody know a way to override the first definition and and only use the definition inside of the function so that aFunction will return x - y  ?</p>
  
  <p>Besides changing the name.</p>
  
  <pre><code>Function aFunction(x As Integer, y As Integer) As Integer
  
      aFunction = x + y
  
  End Function
  
  
  
  Sub aMacro()
  
      Function aFunction(x As Integer, y As Integer) As Integer
          aFunction = x - y
      End Function
      MsgBox aFunction(4, 3)
  
  End Function
  </code></pre>