auto copy text in mail body to other part of the body

Lars Christiansen

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server 2010
Hi

I am trying to copy text from the email body to another part of the body.
The data could be put into fields the sender can fill out, but I need the same data put in below but as text only. The reason is that I have a system that can read the information as text if it is surrounded by ## and a defined field


Below is an example.

Customer no: 3447 - the value 3447 has to be copied down below as text

##Customer_ID: 3447##


any help is appreciated
Thanks in advance


Regards
Lars
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
I'd probably use the Replace function and replace "Customer no: " by "##Customer_ID: ". Then I'd replace the vbCRLF that most likely marks the end of that row by "##" & vbCRLF.
 
Top