The GetAddressEntry method returns an AddressEntry object.
Set objAddressEntry = objSession.GetAddressEntry(entryID)
For more information, see Using Addresses.
This code fragment displays the name of a user from a MAPI address list:
' from the function Session_GetAddressEntry
If objSession Is Nothing Then
MsgBox "No active session, must log on"
Exit Function
End If
If "" = strAddressEntryID Then
MsgBox ("Must first set string variable to address entry ID")
Exit Function
End If
Set objAddrEntry = objSession.GetAddressEntry(strAddressEntryID)
MsgBox "Full address = " & objAddrEntry.Type & ":" _
& objAddrEntry.Address