MAIL.LOGOFF

Macro Sheets Only

Ends the current mail session.

Important To use MAIL.LOGOFF in Microsoft Excel for Windows, you must be using a mail client that supports the Messaging Applications Programming Interface (MAPI) or Vendor-Independent Messaging (VIM). The function is available for only Microsoft Excel for Windows.

Syntax

MAIL.LOGOFF( )

Remarks

Returns TRUE if the session was ended, or #VALUE! if there was no session.

Related Functions

List of Command-Equivalent Functions