Link to home
Create AccountLog in
Avatar of mustish1
mustish1

asked on

Expected: List separator or )

Hi: Can any one please tell me where the syntax error is in that line?
". & vbCrLF & "

intReply = MsgBox("Your document is in My Documents with the name " & strFileName". & vbCrLF & " Do you want to open it now?", vbOkCancel)

Thanks.
Avatar of R_Rajesh
R_Rajesh

Use this:

intReply = MsgBox("Your document is in My Documents with the name " & strFileName & vbCrLf & " Do you want to open it now?", vbOKCancel)
Avatar of mbizup
intReply = MsgBox("Your document is in My Documents with the name " & strFileName & vbCrLf & ".  Do you want to open it now?", vbOKCancel)
ASKER CERTIFIED SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
". & vbCrLF & "


it is the period after the " and before the &

I am assuming it was a typo :-)

Access has no idea of what you are talking about ... it is not a variable, built-in function or constant.