Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Prompt for Move to Folder on Send (http://www.outlookbanter.com/outlook-vba/71667-prompt-move-folder-send.html)

jasoncw May 8th 08 09:10 PM

Prompt for Move to Folder on Send
 
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

Sue Mosher [MVP-Outlook] May 8th 08 10:17 PM

Prompt for Move to Folder on Send
 
See http://www.outlookcode.com/codedetail.aspx?id=1173
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"jasoncw" wrote in message ...
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


No Name May 8th 08 10:26 PM

Prompt for Move to Folder on Send
 
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" wrote in message
...
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



No Name May 8th 08 10:39 PM

Prompt for Move to Folder on Send
 
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


wrote in message
...
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" wrote in message
...
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



jasoncw May 9th 08 04:37 AM

Prompt for Move to Folder on Send
 
Sue, thank you very much. That accomplishes exactly what I needed.

Jason

"Sue Mosher [MVP-Outlook]" wrote:

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


jasoncw May 12th 08 09:56 PM

Prompt for Move to Folder on Send
 
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

"jasoncw" wrote:

Sue, thank you very much. That accomplishes exactly what I needed.

Jason

"Sue Mosher [MVP-Outlook]" wrote:

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


Sue Mosher [MVP-Outlook] May 12th 08 10:19 PM

Prompt for Move to Folder on Send
 
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


"jasoncw" wrote in message ...
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

"jasoncw" wrote:

Sue, thank you very much. That accomplishes exactly what I needed.

Jason

"Sue Mosher [MVP-Outlook]" wrote:

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




All times are GMT +1. The time now is 03:36 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com