NameSpace.Accounts Property (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .Accounts

expression A variable that represents a NameSpace object.

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

Show: