Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Change SenderName Property (http://www.outlookbanter.com/outlook-vba/42932-change-sendername-property.html)

Jan-Henrik Horstmann March 8th 07 09:10 PM

Change SenderName Property
 
Hello,

I'm trying to change the "SenderName" of a message but Outlook-VBA tells me
that the property "SenderName" is write protected.
Is there any way to change it?

What I'm trying to do: I've got a couple of e-mails with different Sender
Names sent from the same e-mail address. I would like to sort these by
sender. But in order to do so they need to have the same Sender
Name.........

Thank you very much for your help!

Greetings from Germany

Jan-Henrik


Michael Bauer [MVP - Outlook] March 9th 07 06:37 AM

Change SenderName Property
 


Jan-Henrik, with CDO 1.21 or Redemption (www.dimastr.com) you could change
the value of PR_SENT_REPRESENTING_NAME property, which is the displayed name
in the 'From' column.

But if all do have the same e-mail address, and are from the same sender,
why don't you just sort by the address?

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
The most effective way to assign Outlook categories:
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

Am Thu, 8 Mar 2007 22:10:44 +0100 schrieb Jan-Henrik Horstmann:

Hello,

I'm trying to change the "SenderName" of a message but Outlook-VBA tells

me
that the property "SenderName" is write protected.
Is there any way to change it?

What I'm trying to do: I've got a couple of e-mails with different Sender
Names sent from the same e-mail address. I would like to sort these by
sender. But in order to do so they need to have the same Sender
Name.........

Thank you very much for your help!

Greetings from Germany

Jan-Henrik



All times are GMT +1. The time now is 09:01 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com