Macro outlook, automate email

3

Dear good afternoon, I would like to know if there is a form or method either by VBA or other means by which at a certain time Outlook automatically opens a new mailing sheet and that this process is automatically and consecutively.

that is, if I am working on the computer and I forget to send what I need in automatic Outlook interrupts, or send me directly to the email to write to that hra.

    
asked by Emmanuel HM 13.03.2017 в 19:59
source

1 answer

1

First assign a reminder to the message. For details, see Add or remove a warning for an email message or contact .

To automatically take an action after the reminder event occurs, use Application.Reminder .

Example taken from the link (I have deleted line breaks to save space)

  

In this Microsoft Visual Basic for Applications (VBA) sample,   shows the element that triggers the Reminder event when   triggers the event The sample code must be located in a module   of class and you should call the Initialize_handler routine before   that the event procedure can be called by Microsoft   Outlook.

Dim WithEvents myolapp As Outlook.Application 

Sub Initialize_handler() 
 Set myolapp = Outlook.Application      
End Sub 

Private Sub myolapp_Reminder(ByVal Item As Object) 
 Item.Display 
End Sub
    
answered by 15.03.2017 в 00:28