Application.MAPILogonComplete event (Outlook)

Occurs after the user has logged onto the system.

Syntax

expression. MAPILogonComplete

expression A variable that represents an Application object.

Example

The following Microsoft Visual Basic for Applications (VBA) example displays a message after the user has logged onto the system.

Private Sub Application_MAPILogonComplete() 
 
'Occurs when a user has logged on 
 
 
 
 MsgBox "Logon complete." 
 
 
 
End Sub

See also

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