Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / October 2005

Tip: Looking for answers? Try searching our database.

Tab delimited info from e-mail body to Access Database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff Byrd - 29 Sep 2005 20:28 GMT
I need to move tab delimited data from the body of an e-mail to a table in
an Access database.  The data is in text form and consists of 6 fields.

I am using Oulook 2003 attached to Exchange 2003 and Access 2003.

I thnk it would be best to do it from a VBA Script in Outlook.

Can this be done would it be better to recieve the data as an attachment.
It come one record at a time from a feedback form on our web site.

Signature

Jeff Byrd

Eric Legault [MVP - Outlook] - 05 Oct 2005 20:49 GMT
Sure, this can be done.  You just have to parse out the contents of the
MailItem.Body property so that you can insert it into your database.  There's
nothing that the Outlook Object Model can help you with here though.  You'd
need to use VB/VBA string functions to parse the text, and the Access Object
Model or DAO/ADO to write the information to the database.

Is there something in particular that you are having difficulties with?

Signature

Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/

> I need to move tab delimited data from the body of an e-mail to a table in
> an Access database.  The data is in text form and consists of 6 fields.
[quoted text clipped - 5 lines]
> Can this be done would it be better to recieve the data as an attachment.
> It come one record at a time from a feedback form on our web site.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.