Run macro on existing appointment when it changes

Dave A

New Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
#1
I have written a macro that sets various properties for a new appointment, based upon the subject line. These include assigning categories for the client, billing information, etc. The macro is triggered by an ItemAdd event.

Sometimes things change, for example an activity becomes billable, so I would like the same macro to run when the appointment changes. If I use ItemChange then Outlook hangs, I suspect it is running the macro in a loop on all items. How can I get it to run only on the specific macro that I have just changed?
 

niton

New Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server 2010
#2
ItemChange will run on the one item that triggers it unless you code it to process other items. Without code it is impossible to determine the issue.
You do not have to "suspect it is running the macro in a loop on all items." To debug put a breakpoint in the code and step through with F8.
 
Top