Accounts.Item method (Outlook)

Returns an Account object specified by Index.

Syntax

expression.Item (Index)

expression A variable that represents an Accounts object.

Parameters

Name Required/Optional Data type Description
Index Required Variant A one-based Long that indexes into the Accounts collection, or a String that specifies the DisplayName of an Account.

Return value

An Account object that matches the account specified by Index.

See also

Accounts Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.