G
Guest
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
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