
March 19th 12, 06:37 AM
|
Junior Member
|
|
First recorded activity at Outlookbanter: Jan 2012
Posts: 18
|
|
Quote:
Originally Posted by Doug B
Prior to my computer crash, I had two 'profiles' in Outlook 2007, which seemed logical, but was actually somewhat of a pain. Using one profile for friend/general emails, and another for soccer/swim emails for the kids' teams.
After the crash, I decided it's easier to combine them, and I was right, so much easier having it send/receive 6 email addresses in one profile instead of splitting it up. So now, here's my dilemna.
Manually, I will move an email to the proper subfolder (such as soccer/daughter, or swimming/volunteer) and then click Reply. This is nice so that it keeps the reply in the same folder with the original message. If I reply first, the message goes to the 'sent' folder, then I need to move messages from the sent folder as well as the source folder.
Using the traditional method, I either right click and choose move, or hit Ctrl-V. It opens up the Move Items dialog, which lets me choose a folder.
I wrote some VBA code that will 1) mark the item as read, b) move the item to folder XXX, and c) reply to that item. This accomplishes my goal about 50%.
I added an inputbox asking "push d for daughter, v for volunteer" and then it lets me plug in the folder name. This got me about 75% toward my goal. But those are hard coded.
What I really want is to be able to show that Move Items dialog so I can pick a folder dynamically, in case I want to choose a less-used folder for my storage.
Any tips on opening that dialog box, or anything else that might make my code easier, would be well appreciated.
Thanks,
Doug B.
|
Hi Doug,
Using Outlook VBA, you can try: Pickfolder method to get the folder/open the dialog box. In order to move ahead, i attached a small VBA code snippet:
Try this out and let me know, how it goes...
|