M
michel
Hello,
I am pretty new in the object models linked to outlook.
I did not find the right way to read the part
[[email protected]] of the string "John Smith [[email protected]] "
which appears in the mailing adress.
I am using :
=======
Dim NS As Outlook.NameSpace
Dim Source As Outlook.MAPIFolder
Dim Mail As Outlook.MailItem
Set App = Outlook.Application
Set NS = App.GetNamespace("MAPI")
Set Mail = FldSource.Items.GetFirst
debug.print Mail.SenderName
=========
The answer of Debug.print is "John Smith" but I would like to have access to
the string (e-mail address removed).
Do I use the wrong object model ?
Thanks in advance
Michel
I am pretty new in the object models linked to outlook.
I did not find the right way to read the part
[[email protected]] of the string "John Smith [[email protected]] "
which appears in the mailing adress.
I am using :
=======
Dim NS As Outlook.NameSpace
Dim Source As Outlook.MAPIFolder
Dim Mail As Outlook.MailItem
Set App = Outlook.Application
Set NS = App.GetNamespace("MAPI")
Set Mail = FldSource.Items.GetFirst
debug.print Mail.SenderName
=========
The answer of Debug.print is "John Smith" but I would like to have access to
the string (e-mail address removed).
Do I use the wrong object model ?
Thanks in advance
Michel