Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ContactItem.IMAddress Property (Outlook)

Published: July 16, 2012

Returns or sets a String that represents a contact's Microsoft Instant Messenger address. Read/write.

expression .IMAddress

expression A variable that represents a ContactItem object.

Unlike the Recipients or To properties, there is no way to verify that the IMAddress property contains a valid address.

The following example creates a new contact and prompts the user to enter an Instant Messenger address for the contact.

Sub SetImAddress() 
 
 'Sets a new IM Address 
 
 Dim objNewContact As ContactItem 
 
 
 
 Set objNewContact = Application.CreateItem(olContactItem) 
 
 objNewContact.IMAddress = _ 
 
 InputBox("Enter the new contact's Microsoft Instant Messenger address") 
 
 objNewContact.Save 
 
End Sub
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.