![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
When looping through a collection of Outlook.Items that includes
recurrences, and a recurring appointment is found, I need to get the non-recurring appointment in order to change the Categories property. I want to eliminate the the Do loop below and go directly to the appointment item in question. I can minimize the iterations of the loop by restricting the olRitms collection with strFilter, but there must be a way to get the item by EntryID (?) Any suggestions appreciated... For Each outlook appointment item including recurrences... If olai.IsRecurring Then strEntryID = olai.EntryID Set olRitms = olns.GetDefaultFolder(olFolderCalendar).Items Set objRcr = olRitms.Restrict(strFilter) Do While i objRcr.Count i = i + 1 If objRcr(i).EntryID = strEntryID Then objRcr(i).Categories = strCategoryName objRcr(i).Save End If Loop End If Next |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Invalid EntryID | KatTheBird | Outlook - Using Contacts | 0 | March 7th 06 06:45 AM |
How do I find out who put an appointment or meeting request in my calendar? | rskretting | Outlook - Calandaring | 1 | February 17th 06 09:23 AM |
How to find out which is the current item shown in the inspector? | Michael Reukauff | Add-ins for Outlook | 1 | January 25th 06 02:33 PM |
New ContactItem with same EntryID | jim | Add-ins for Outlook | 3 | January 20th 06 07:01 PM |
Scope of StoreID and EntryID | Scott | Outlook and VBA | 4 | January 20th 06 06:35 PM |