Problems maintaining a view of Task items

  • Thread starter Thread starter R Avery
  • Start date Start date
R

R Avery

I want to group a list of task items by 2 criteria. Every time i do the
grouping and switch to a different Outlook folder and go back, the view
of the task items has been restored to what it was before I changed it.

In the current view (that Outlook stubbornly keeps restoring), there is
only 1 grouping criteria. Can anyone help or explain what is going on?
Thanks!
 
Actually, I figured out part of it. It only happens when I switch to
other folders using my macros (I have a menu of 'shortcuts' to favorite
folders - necessary because i have more than 100). I use the following
code to switch to folders:


Set myolapp = Application
Set mynamespace = myolapp.GetNamespace("MAPI")
Set myolapp.ActiveExplorer.CurrentFolder = _
mynamespace.Folders("Public Folders").Folders("All...")

Is there anyway to alter the code so that it saves the changes I made to
the view before I run the macro? Thanks!
 
Back
Top