• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

In Outlook 2003 VBA the RemoveStore method does not CLOSE a pst file but only removes it from the GUI. Is there a way to close the pst file by code? To shut down Outlook just to close a pst file is a

In Outlook 2003 VBA an already existing pst file can be opened from path in the GUI by the AddStore method and it can be removed from the GUI by the RemoveStore method. Strange but true: the file isnt closed by the remove method. To close it you have to close the Outllook application which is everything but an elegant way to close a file.

I want to close the pst by code so that other users may open and use it as an archive pst. Any idea?
0
Peter_M_Kroell
Asked:
Peter_M_Kroell
1 Solution
 
David LeeCommented:
Hi, Peter_M_Kroell.

It's not possible and it's not just when a PST file is closed via code.  Closing a PST through the GUI doesn't actually close it either.  It's a flaw in Outlook.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now