Hi,
I've used a pre-existing macro to create mine and it keeps telling me at the Cells on line 2 that it is an Expected End of Statement error but no one else I know who has VB experience can seem to figure this out either.
Please help!?!?
strbody = "Hello " & Cells(cell.Row, "A")&vbNewLine & vbNewLine& _
Cells(cell.Row,"M") & vbNewLine & _
"<B>First Name:</B> " & Cells(Cells(cell.Row, "A") & vbNewLine & _
"<b>Last Name:</b> " & Cells(Cells(cell.Row, "B") & vbNewLine & _
"<b>Username:</b> " & Cells(Cells(cell.Row, "C") & vbNewLine & _
"<B>Password:</B> " & Cells(cell.Row, "D") & vbNewLine & _
"Cells(cell.Row,"N") & vbNewLine & _
I've used a pre-existing macro to create mine and it keeps telling me at the Cells on line 2 that it is an Expected End of Statement error but no one else I know who has VB experience can seem to figure this out either.
Please help!?!?
strbody = "Hello " & Cells(cell.Row, "A")&vbNewLine & vbNewLine& _
Cells(cell.Row,"M") & vbNewLine & _
"<B>First Name:</B> " & Cells(Cells(cell.Row, "A") & vbNewLine & _
"<b>Last Name:</b> " & Cells(Cells(cell.Row, "B") & vbNewLine & _
"<b>Username:</b> " & Cells(Cells(cell.Row, "C") & vbNewLine & _
"<B>Password:</B> " & Cells(cell.Row, "D") & vbNewLine & _
"Cells(cell.Row,"N") & vbNewLine & _