Export (0) Print
Expand All
Expand Minimize

ContactItem.Email2Address Property

Office 2007
Returns or sets a String representing the e-mail address of the second e-mail entry for the contact. Read/write.

Syntax

expression.Email2Address

expression   A variable that represents a ContactItem object.

Example

This Visual Basic for Applications (VBA) example sets "someone@example.com" as the e-mail address for the second e-mail entry of a contact.

Visual Basic for Applications
Sub CreatePeerContact()
    Dim myItem As Outlook.ContactItem
    
    Set myItem = Application.CreateItem(olContactItem)
    myItem.Email2Address = "someone@example.com"
    myItem.Display
End Sub



Community Additions

ADD
Show:
© 2014 Microsoft