Hi all,

Using Excel 2013.

My code is returning the error, not sure why?:
Compile error: Expected: list separator or )
Error here:
lngMessageResponse = GetUserMessageResponse(strPrompt:="The selected worksheet does not contain any data." & vbCrLf & _
                                                                                           "Would you like to try a different worksheet?", _
                                                                         strTitle:="Missing Data Warning, _
                                                                         lngButtons:=vbYesNo)
Calling this Function:
Public Function GetUserMessageResponse(strPrompt As String, _
                                                             strTitle As String, _
                                                             lngButtons As Long) As Long
Thoughts?

thx
w