More Outlook Resource Sites

Microsoft Developer Network (MSDN)

FAQs and other general resources

forum 25-Nov-2015 13:17

Looking for help with Outlook programming projects — VSTO, add-ins, VBA, custom Outlook forms, etc.? You′ve come to the right place!

NEW! >> Subscribe to this site via RSS. For more RSS options, see the complete list of feeds on our main news page.

    Page [ 1 ]  
 Outlook Form Design Printer Friendly Version
Designing custom Outlook forms and form regions and writing code for them
Userform as warning message box with timer
i want a this code to work who can help me

i get error on te part "Application.OnTime Now + TimeValue("00:00:05"), "killtheform""

in a large code is

Private Sub UserForm_Activate()
    Application.OnTime Now + TimeValue("00:00:05"), "killtheform"
End Sub

Sub killtheform()

  Unload MELDING

End Sub


  24-Feb-2013  11:03
  25-Feb-2013  12:57   
There is no OnTime in Outlook.

See here for an Outlook timer

See page 3 for a small revision to Public Sub TriggerTimer.
    Page [ 1 ]