Re: Export address format
- From: "Sue Mosher [MVP-Outlook]" <suemvp@xxxxxxxxxxxxxxx>
- Date: Thu, 12 May 2005 11:55:51 -0400
Use the Recipients collection, not the Bcc or Cc fields, which return only display names (which is only sometimes the same as the address, depending on how the sender entered the recipient).
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Bob Inwater" <BobInwater@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:932365E8-292F-4E5B-9A1C-40BFBCAE65F3@xxxxxxxxxxxxxxxx
>I recently wrote a Macro that went though my inbox and exported every
> objMailItem.SenderEmailAddress to Excel. This allows me to capture a master
> email list. With the SenderEmailAddress code my export gets the address in
> the SuchAndSuch@xxxxxxxxxxx format. My issue now is that in the bcc or cc
> fields I often get the intended recipients alias as in“ Joe Schmo” but not
> his address as in Joe@xxxxxxxxxx (I assume that the one format is an object
> of the other or something of the sort.)
>
> I am perfectly happy to give up on doing this in vba. When I cut the
> addresses that read something like “Schmo, Joe <Joe@xxxxxxxxx”. > from the
> cc or bcc field and paste anythere outside an Outlook address field I lose
> the Joe@xxxxxxxxx format and only get the Schmo, Joe.
>
> Ideas? I am using Outlook 2003 to get the objMailItem.SenderEmailAddress to
> work….
>
.
- Follow-Ups:
- Re: Export address format
- From: Bob Inwater
- Re: Export address format
- References:
- Export address format
- From: Bob Inwater
- Export address format
- Prev by Date: Re: I fired Word...
- Next by Date: Re: How to add a bcc to an email I'm preparing to send
- Previous by thread: Export address format
- Next by thread: Re: Export address format
- Index(es):
Relevant Pages
|