Formatting an E-Mail message created in an agent

I have an agent which automates the sending of an e-mail.  The agent contains the following line.

 Set object = rtitem.EmbedObject ( EMBED_ATTACHMENT, "", "h:\adhesives\adhesives_account_manager\volume_price\volume_price.htm", "Account Managers may not be 100% accurate at this time" )

I want to format the last section ("Account Managers may not be 100% accurate at this time" ) to allow me to include a carriage return.  i.e. how to I split this string to allow me to move onto a new line of the message.
Who is Participating?
PaebdbConnect With a Mentor Commented:
In general "String 1"+Chr(10)+"String 2".
But the last parameter of EmbedObject is the name to reference the object later. I'm not sure if it will work, and if if you still can reference to it.
You can also try
objectName =  "String 1"+Chr(10)+"String 2"
and then insert thr objectName as a parameter.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.