View Single Post
  #2  
Old May 27th 09, 03:45 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Reply with custom form & selected data from message body

You might find this code sample useful:
http://www.outlookcode.com/codedetail.aspx?id=89 It shows how to parse a
structured text block as your scenario describes.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"GregoryL.[AITI]" wrote in
message ...
Hi everyone,

I receive a lot of plain text emails that contain data in a preset format
that I would like to auto reply with a custom form I have built. I would
like
to know if I can locate and use certain values from the original message
in
my reply (e.g. original msg contains as plain text First Name: John and
Coffee Type: Arabica. Can I locate John and Arabica in the original msg
and
populate those values in my auto reply form - Hi John, thanks for your
enquiry about our Arabica coffee range...)

It seems straight forward enough yet any help or pointers in the right
direction would be greatly appreciated.


TIA

Greg





Ads