Using the Startup Event : Application Events « Application « VBA / Excel / Access / Word






Using the Startup Event

 
Sub Application_Startup()
    Dim myNoteItem As NoteItem
    Set myNoteItem = Application.CreateItem(ItemType:=olNoteItem)
    myNoteItem.Body = "Please start a new time card for the day."
    myNoteItem.Display
End Sub

 








Related examples in the same category

1.Using the Quit Event
2.Using the ItemSend Event
3.Using the AdvancedSearchComplete Event and the AdvancedSearchStopped Event