Email issues using VBA

fgssr

New Member
Joined
Apr 1, 2017
Messages
8
I send a message and it comes looking like:

Hello FrankS, SO, Delivery or Shipment#: 137252196 Error Reason #: Confirmation does not match customer PO Date A1: 07/17/2023 Issue: Confirmation does not match customer PO Please respond to this email confirming review and closure. No further action needed.


If there is anything else I can assist you with, please, do not hesitate to ask.

Have a blessed day!

Thanks,

Frank Sperry

CUSTOMER SERVICE ANALYST
Dorman Products
25 Dorman Dr. Warsaw, Ky 41095
p: 800.523.2492 | f: 859.567.7010


How do I get the line in red text to separate like a normal email?

Thank yu and have a super day!
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try inserting either vbCrLf (carriage return/line feed) where you need it. Or insert Chr(13) and Chr(10) where needed. Or if the email body is html or rtf you can use html codes like <BR> for line break or <P> for new paragraphs. You will have to concatenate regardless, as in
.Body = "Hello FrankS," & vbcrlf & "SO, Delivery or Shipment#: 137252196" & vbcrlf & "Error Reason #: Confirmation does not match customer PO Date A1"
and so on
Seeing your code (within code tags - vba button on posting toolbar) would eliminate some guessing.
 
Upvote 0
Solution
Glad I could help & thanks for the recognition.
 
Upvote 0

Forum statistics

Threads
1,215,778
Messages
6,126,841
Members
449,343
Latest member
DEWS2031

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top