error when puting more than 1 string
Hello, I'm a newbie in Excel VBA, this may sound stupid but I encounter error with the below code, whats wrong?
Public Sub callDisplayTest()
displayTest ("First", "Second")
End Sub
Public Sub displayTest(firstStr as String, secondStr as String)
MsgBox (firstStr)
MsgBox (secondStr)
End Sub
|