the params (integer string variant) could match the first OR the second since a variant auto converts to a string and then the last param in the second is skipped
The correct signature for the method the OP asked about is exactly as posted
Public Function AddNumbers(ParamArray nums As Integer) As Integer
' nums is treated as an array
Var i, total As Integer
For Each i In nums
total = total + I
Next
Return Total
End Function