PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Import Outlook Body as text only into Access

Reply

Import Outlook Body as text only into Access

 
Thread Tools Rate Thread
Old 15-12-2006, 03:12 AM   #1
LI_SpeedyG
Guest
 
Posts: n/a
Default Import Outlook Body as text only into Access


Hi,

I have been looking for a way to resolve Hyperlinks into it "text only"
part(s) when importing from Outlook into Access.

Example--

Raw import currently:
HYPERLINK
""https://www.<site>.com/nrp.jsp?tnum=906176936668&language=en&clienttype=ivother&opco=XX""906176936668

Text Only Should read:
906176936668

If not possible I will need to find alternate methods. So, I would
appreciate any direction you can point me towards..

Thanks In Advance,
SpeedyG

  Reply With Quote
Old 15-12-2006, 02:40 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Import Outlook Body as text only into Access

You can get the email text as HTML using item.HTMLBody. That returns a
string to you. From there you can use string parsing methods to take things
apart.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"LI_SpeedyG" <A.Gemmiti@gmail.com> wrote in message
news:1166152348.238580.185980@t46g2000cwa.googlegroups.com...
> Hi,
>
> I have been looking for a way to resolve Hyperlinks into it "text only"
> part(s) when importing from Outlook into Access.
>
> Example--
>
> Raw import currently:
> HYPERLINK
> ""https://www.<site>.com/nrp.jsp?tnum=906176936668&language=en&clienttype=ivother&opco=XX""906176936668
>
> Text Only Should read:
> 906176936668
>
> If not possible I will need to find alternate methods. So, I would
> appreciate any direction you can point me towards..
>
> Thanks In Advance,
> SpeedyG
>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off