Search results

  1. D

    Trigger macro to run when selected email is opened

    When I use the first code so that it only works for the first item in my inbox, It is working consistently every time that i double click on the first email. Also, I am assuming that you mean to write it such as this.... Option Explicit Public WithEvents myItem As Outlook.MailItem...
  2. D

    VB Script Help

    each mailbox should have an associated email address ( eg mailbox 1 being only emails to emailaddress1@domainname.com )... Under the condition you are using VB SCRIPT vs VBA you might also try something like this... Dim objOutlook Dim objNamespace Dim objMailbox Set objOutlook =...
  3. D

    Trigger macro to run when selected email is opened

    Anyone have a guess on this one by chance?
  4. D

    Trigger macro to run when selected email is opened

    Hello, I am having trouble with my events in outlook, not sure if I am missing something or not. I am trying to trigger a macro when the selected mail item in outlook is opened. Using the code below, I can successfully trap the event and display the msgbox when double clicking the first...
Back
Top