|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Customizing scheduling tasksWhen a task is dragged to the calendar, an appointment with the same subject
is generated, and many of the task details are included. I want to run code before the appointment is generated, but I'm having a dificult time finding the event. The addItem event does not occurr until the appointment is saved. The newInspector event is triggered but that is after the details of the appointment are filled in. I could make do with this but it seems a bad place for it since the event is triggered anytime an Outlook item is opened. Also, I can't seem to check to see what type of item the inspector contains. Any ideas? NewInspector.CurrentItem.Class will give you the type of item. You've
already figured out the event situation. -- Show quoteHide quoteSue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "jjsorensen" <jjsoren***@discussions.microsoft.com> wrote in message news:365101ED-1D3F-47D3-B4CB-CD93A6130717@microsoft.com... > When a task is dragged to the calendar, an appointment with the same > subject > is generated, and many of the task details are included. > > I want to run code before the appointment is generated, but I'm having a > dificult time finding the event. The addItem event does not occurr until > the > appointment is saved. The newInspector event is triggered but that is > after > the details of the appointment are filled in. I could make do with this > but > it seems a bad place for it since the event is triggered anytime an > Outlook > item is opened. Also, I can't seem to check to see what type of item the > inspector contains. > > Any ideas? Thanks.
Show quoteHide quote "Sue Mosher [MVP-Outlook]" wrote: > NewInspector.CurrentItem.Class will give you the type of item. You've > already figured out the event situation. > > -- > Sue Mosher, Outlook MVP > Author of > Microsoft Outlook Programming - Jumpstart for > Administrators, Power Users, and Developers > http://www.outlookcode.com/jumpstart.aspx > > > "jjsorensen" <jjsoren***@discussions.microsoft.com> wrote in message > news:365101ED-1D3F-47D3-B4CB-CD93A6130717@microsoft.com... > > When a task is dragged to the calendar, an appointment with the same > > subject > > is generated, and many of the task details are included. > > > > I want to run code before the appointment is generated, but I'm having a > > dificult time finding the event. The addItem event does not occurr until > > the > > appointment is saved. The newInspector event is triggered but that is > > after > > the details of the appointment are filled in. I could make do with this > > but > > it seems a bad place for it since the event is triggered anytime an > > Outlook > > item is opened. Also, I can't seem to check to see what type of item the > > inspector contains. > > > > Any ideas? > > >
Other interesting topics
Can Outlook.Application be used to control open message windows?
Run time error 430 with late binding Outlook 2003 Controlling Outlook from Word VBA - PROBLEM... Win32 API Timer - crash SentOnBehalfOfName property does not take effect - Help! Trying to get to ContactItem from items on DistListItem (office xp) Background Process Outlook VBA - Need to grab SMTP address, not Contact Name Late Binding to Outlook from Excel: Outlook modifies email body How to copy a unique string public folder message to a local messa |
|||||||||||||||||||||||