Hi,
I am trying to send an email , while writing a body I am not able to enter new line.
Please help!
Thanks,
Anjali
Hi,
I am trying to send an email , while writing a body I am not able to enter new line.
Please help!
Thanks,
Anjali
Hi,
Please use Environment.NewLine code, it’ll take your statement in next line,
for instance, i have below sentence,
Automation excellence requires a tool that can model all the organization’s business processes,
And if we write that code as below,
Automation excellence requires a tool +Environment.NewLine+ that can model all the organization’s business processes,
Output will look like,
Automation excellence requires a tool
that can model all the organization’s business processes
I used
and it’s working fine.
Regards,
Anjali
That did not work for me, I used vbnewline
"This is a " & vbnewline & “test” will show:
This is a
test
Hi,
This code does not works when the IsbodyHTML flag is set to True.
Use br/ tag for new line in HTML body.
Hey,
you can also use “+vbCrLf+” in order to enter new line. Here is a pratical example:
“Hello,”+vbCrLf+vbCrLf+
“Let’s automate the world!” +vbCrLf+
“Greets”
This will produce:
Hello,
Let’s automate the world!
Greets
Hey @harjyot123
Did you find how to make it work when the IsbodyHTML flag is set to True?