Body in Email

Hi, I have an error in the body of an email: End Of Expression Expected. I can not figure out why :frowning:

“Dear Sir/Madam,”& VbCrLf &“The following material(s) cannot be processed due To insufficient stock.”& VbCrLf &“Please update the stock .”& VbCrLf &“Material Plant Sloc”& VbCrLf &MaterialValue&PlantValue&SLocValue&VbCrLf &“Thank you,”

I have such variables:

Any idea, any “” more?

You cant glue those together VariableName&VariableName2 do like this:
VariableName & VariableName2`

Worked! Thanks :slight_smile:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.