You have to use your imagination a bit! There are several examples
showing how to pull data from Outlook which you can modify
Public Sub InsertEmailFromOutlook()
Dim strAddress As String
Dim strEmail As String
strEmail = "<PR_EMAIL_ADDRESS>"
strAddress = Application.GetAddress("", strEmail, _
False, 1, , , True, True)
Selection.TypeText strAddress
End Sub
will pull the e-mail address
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site
www.gmayor.com
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Ulf Nilsson wrote:
Thanks for the link,
but I cannot see anything on how to get any e-mail address. Just to
create a contact.
The "<PR_EMAIL_ADDRESS>" does not work.
I'm looking forward to getting more idéas.
// Ulf
:
See the method at
http://www.gmayor.com/Macrobutton.htm
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site
www.gmayor.com
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Ulf Nilsson wrote:
Hi,
If I know a name from the global address book, can I get the
e-mail address?
If Jon Smith is an entry in the global Address book, can I in some
way retrieve "Smith, Jon" e-mail address? Using GetAddress does
not seem to work.
I use Office XP.
// Ulf