Prompt for Move to Folder on Send

  • Thread starter Thread starter jasoncw
  • Start date Start date
You can run a script with the rules wizard, which can call your procedure
that uses NameSpace.PickFolder to prompt the user where to move the message
to.

See:

How to create a script for the Rules Wizard in Outlook:
http://support.microsoft.com/kb/306108

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
Collaborative Innovations
-> Try Picture Attachments Wizard For Microsoft Outlook <-
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault
 
Never mind - I wasn't paying attention very well and later realized you need
to do this on send...

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007
& WSS 3.0 Application Development)
Collaborative Innovations
-> Try Picture Attachments Wizard For Microsoft Outlook <-
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


You can run a script with the rules wizard, which can call your procedure
that uses NameSpace.PickFolder to prompt the user where to move the
message to.

See:

How to create a script for the Rules Wizard in Outlook:
http://support.microsoft.com/kb/306108

--
Eric Legault [MVP - Outlook]
MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS
2007 & WSS 3.0 Application Development)
Collaborative Innovations
-> Try Picture Attachments Wizard For Microsoft Outlook <-
Web: http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault


jasoncw said:
Is there an easy way to prompt to which folder to move a sent email? I
tried
creating a rule, and that will only allow you to define a specific
folder. I
would like for Outlook to prompt which folder to move it upon sending.

TIA

Jason

Cross-post: http://vbaexpress.com/forum/showthread.php?t=19448
 
I spoke too soon. This appears to work fine when I wish to send items within
the same Outlook file. However, it does not appear to work when I select a
folder within a different Outlook data file. Can the procedure be modified
to accomplish this? Thanks.

Jason
 
I haven't played with that code in quite a while. You should try taking out the check for whether the target folder is in the default store. If that doesn't work, you'll need to take a different approach, moving items after they land in the Sent Items folder. For that, you'd use the MAPIFolder.Items.ItemAdd event.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
Back
Top