|Outlook Developer Reference|
Creates a Recipient object.
expression A variable that represents a NameSpace object.
|RecipientName||Required||String||The name of the recipient; it can be a string representing the display name, the alias, or the full SMTP e-mail address of the recipient.|
A Recipient object that represents the new recipient.
This method is most commonly used to create a Recipient object for use with the GetSharedDefaultFolder method, for example, to open a delegator's folder. It can also be used to verify a given name against an address book.
This Visual Basic for Applications (VBA) example uses the GetSharedDefaultFolder method to resolve the Recipient object representing Dan Wilson, and then returns Dan's shared default Calendar folder. To run this example, replace 'Dan Wilson' with a valid recipient name and make sure the calendar is shared and you have permissions to view the calendar.
|Visual Basic for Applications|