NameSpace.Accounts property (Outlook)

Returns an Accounts collection object that represents all the Account objects in the current profile. Read-only.

Syntax

expression. Accounts

expression A variable that represents a NameSpace object.

Remarks

If Outlook is running in sessionless mode, Accounts returns an Accounts collection with Accounts.Count equal to 0.

See also

NameSpace 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.