See http://www.outlookcode.com/codedetail.aspx?id=1173

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
> 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
[quoted text clipped - 5 lines]
>
> Cross-post: http://vbaexpress.com/forum/showthread.php?t=19448
jasoncw - 09 May 2008 04:37 GMT
Sue, thank you very much. That accomplishes exactly what I needed.
Jason
> See http://www.outlookcode.com/codedetail.aspx?id=1173
jasoncw - 12 May 2008 21:56 GMT
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
> Sue, thank you very much. That accomplishes exactly what I needed.
>
> Jason
>
> > See http://www.outlookcode.com/codedetail.aspx?id=1173
Sue Mosher [MVP-Outlook] - 12 May 2008 22:19 GMT
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.

Signature
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
>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
[quoted text clipped - 8 lines]
>>
>> > See http://www.outlookcode.com/codedetail.aspx?id=1173
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

Signature
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
> Is there an easy way to prompt to which folder to move a sent email? I
> tried
[quoted text clipped - 7 lines]
>
> Cross-post: http://vbaexpress.com/forum/showthread.php?t=19448
elegaultZZZ@REMOVEZZZmvps.org - 08 May 2008 22:39 GMT
Never mind - I wasn't paying attention very well and later realized you need
to do this on send...

Signature
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
[quoted text clipped - 16 lines]
>>
>> Cross-post: http://vbaexpress.com/forum/showthread.php?t=19448