Link to home
Create AccountLog in
Avatar of Tony Pitt
Tony Pitt

asked on

Automating creation of folders in Outlook pst file

I use a rich set of folders in Outlook 2013.  At the end of the calendar year, I want to move most (but not all) email into a similar set of folders in an archive pst file for the year.  I feel it ought to be possible to automate the creation of the set of folders in the archive pst folder to match those in the main data file but I don't know how to go about this.

Can anyone help me, please?
Avatar of Qlemo
Qlemo
Flag of Germany image

If you use the archiving process, it should do exactly that.
Any other approach requires VBA code duplicating the folder tree "manually".
Avatar of Tony Pitt
Tony Pitt

ASKER

Thanks, Olemo.  I was aware that archiving could *almost* do what I want, but it applies at a folder level, whereas I want to move the email manually so that I can select on a per-email basis.  Therefore, I think, I'm after VBA code to duplicate the folder tree ...

/T
Depending on the ratio of emails to move vs. to keep, how about code moving the selected mails to a fixed-name archive PST?
Just duplicating the folder tree doesn't save you from having to navigate thru both trees when moving. With above you can select all mails of the current folder, unselect a few, and then have the code move'm.
I'm sorry, I have used the archive mechanism.  It is not what I need.  I am happy to do the selection and moving of emails by hand.  All I need is the folders created, because that is extremely tedious to do manually.

/T
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account