Hi all

I want to create a procedure and pass two arguments to it. I have done this in the past, but for some reason now I keep getting the same error message in the vba editor ( Compiler Error, Expected =). Below is just a macro I was using to debug this problem (not the actual macro I will us it in).
As always your help will be appreciated.
Thanks
russ

Dim HI As String
Dim gregg As String
gregg = vbCr & "Gregg"
HI = "Russell says Hello"
sayhi(hi, gregg)

End Sub

Private Sub sayHi(verbage As String, FAN As String)
MsgBox verbage & FAN
End Sub