Application.MAPILogonComplete event (Outlook)
Occurs after the user has logged onto the system.
expression A variable that represents an Application object.
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
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.