I am trying to pass more than one parameter in VBA for Excel but everytime I do I get a:
Compile error:
Syntax error
Sub first(ByVal fOne As Integer, ByVal fTwo As Integer)
If fOne = 2 Then
MsgBox "fTwo"
End If
End Sub
Sub second()
first(2, 3)
End Sub