Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Move emails on OutLook startup (or button / key stroke)

Avatar of Diego Balgera
Diego BalgeraFlag for Italy asked on
3 Comments1 Solution711 ViewsLast Modified:

I have an OutLook where some messages (corresponding to some criteria) are delivered on a folder on the server other than the inbox.
I would like to write a procedure so that these emails are moved to another local folder on the Pc (in the .pst file) when executing the Outlook or alternatively by clicking manually a button in the toolbar.
In other words: the executing the macro, it has to move all the messages from the folder "SampleFolder" on the server to the "SampleFolder" in the .pst file.
Unfortunately I cannot do it with email rules since they are triggered only when the email are received or sent.

I tried to use this http://support.microsoft.com/kb/249597 as a starting point and adapt it, but I'm not competent with visual basic and I couldn't get to my desired results. In a few words:
- This script moves email from the inbox, I need to define an alternate folder as the source
- It opens a dialog box to specify the destination folder, I need to specify it in the code.

Can you help me with this? Thank you in advance!
Best regards.
Avatar of David Lee
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answers