![]() |
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
|
|||
|
|||
![]()
Hi. I'm trying to get my tasks from the tasks folder into an items object
list. The snag is that I need the order in the items list to be the same as the order in the current outlook view. The view is hand-sorted, not sorted by criteria. I see two options, neither of which I can get working: (1) Do the equivalent of a SelectAll on the current explorer (assuming the view is already showing), and then extract the items one at a time in a loop; or (2) Use a for each... loop which returns items in the order in which they appear in that view. I want to avoid needing to do a manual select in the view and then use the Selection property, if possible. So far, the best I've been able to do is get the items list from the current explorer, but these seem to be unsorted. Any suggestions? Thanks in advance, Anthony |
Ads |
#2
|
|||
|
|||
![]()
You can't select messages in the Explorer window AFAIK. You'll have to rely
on the user selecting a range of items (which you want to avoid), which will be in the same order in the view as they are in the Selection object's Items collection. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Nomad" wrote: Hi. I'm trying to get my tasks from the tasks folder into an items object list. The snag is that I need the order in the items list to be the same as the order in the current outlook view. The view is hand-sorted, not sorted by criteria. I see two options, neither of which I can get working: (1) Do the equivalent of a SelectAll on the current explorer (assuming the view is already showing), and then extract the items one at a time in a loop; or (2) Use a for each... loop which returns items in the order in which they appear in that view. I want to avoid needing to do a manual select in the view and then use the Selection property, if possible. So far, the best I've been able to do is get the items list from the current explorer, but these seem to be unsorted. Any suggestions? Thanks in advance, Anthony |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Links between Contact and Task items | Warren | Outlook - Using Contacts | 1 | June 16th 06 03:26 PM |
show all recurrences of a task in the task list | dash | Outlook - Calandaring | 2 | April 15th 06 03:45 AM |
How do I drag a task in task list of Outlook. It will not let me. | rpetralia | Outlook - Calandaring | 2 | April 5th 06 11:14 AM |
OUTLOOK 2003 CRASH AFTER DROP DOWN LIST SELECTION | Ygaud | Outlook - General Queries | 3 | March 15th 06 09:06 PM |
Lost calendar & Task items in Outlook 2000 | Bett | Outlook - General Queries | 1 | February 20th 06 11:54 PM |