_Application.MailLogoff Method
Closes a MAPI mail session established by Microsoft Excel.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub MailLogoff
'Usage
Dim instance As _Application
instance.MailLogoff()
void MailLogoff()