Outlook 2010 - Need help with a custom field.

Status
Not open for further replies.

Farallon5

Member
Outlook version
Outlook 2010 32 bit
Email Account
POP3
Hello!

I use rules a lot. One of my favorite rules is to copy incoming messages to a certain folder and set a No Date follow up flag to appear to show me that that message has a rule applied to it successfully. This way I can tell at a glance which messages have already been filed and I can just delete them from the inbox after I have read them.

Unfortunately, it is cumbersome to see WHERE the message has been filed from the message list if I have a question about it or if I suspect my rule has filed it in the wrong folder.

I can get what I want by right clicking on a message and choosing "Find Related" > "Messages in this conversation" but I would like to add a custom field in a new column that shows me which folders a given flagged message can be found in. Each folder that the message has been copied to by my rule would be shown in the field, separated by a comma. Inbox could be omitted as I am already in the Inbox.

Any help or advice would be appreciated! Thanks!
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
You might be able to do this using bits from a macro http://www.slipstick.com/outlook/email/sort-messages-sender-domain/ - actually, I think i would copy the message using the macro too, that way you have the folder path to insert into the field. There is a run a script rule at the bottom of the article.

use this to move it, the code on the other macro to set the field.

Dim strFile As String

strFile = "Inbox\Move"

Item.Move (Session.GetDefaultFolder(olFolderInbox).Folders("Move"))
 

Farallon5

Member
Outlook version
Outlook 2010 32 bit
Email Account
POP3
Hi Diane,

I could accept (barely) running a macro to see the folder(s) that my rule directed the message to, but I think running one to do the actual moving, etc would be converting an automatic rule into a manual task. Or am I misunderstanding your suggestion?

Thanks!
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Outlook's Rules have an Action called "run a script". Instead of using the rule to move, you'll use the same rule but remove the move Action and add run a script, selecting the move script.

Outlook's Rules and Alerts: Run a Script

Maybe something like this

Public Sub MovedToScript(Item As Outlook.MailItem)
Dim objProp As Outlook.UserProperty
Dim strFile As String
strFile = "Inbox\Move"
Item.Copy (Session.GetDefaultFolder(olFolderInbox).Folders(" Move"))


Set objProp = Item.UserProperties.Add("Copied To", olText, True)
objProp.Value = strFile
Item.Save

End Sub

- - - Updated - - -

Outlook's Rules have an Action called "run a script". Instead of using the rule to move, you'll use the same rule but remove the move Action and add run a script, selecting the move script.


Outlook's Rules and Alerts: Run a Script






Maybe something like this




Public Sub MovedToScript(Item As Outlook.MailItem)



Dim objProp As Outlook.UserProperty
Dim strFile As String
strFile = "Inbox\Move"



Item.Copy (Session.GetDefaultFolder(olFolderInbox).Folders(" Move"))



Set objProp = Item.UserProperties.Add("Copied To", olText, True)
objProp.Value = strFile
Item.Save

End Sub
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
EaglePI Outlook 2010 need help with rules Using Outlook 0
G Need help configuring a PRF for Outlook 2010 and 2013 Using Outlook 0
C Outlook 2010, Need to restrict domain users from installing any sort of a addin in outlook Using Outlook 2
J Office + Outlook 2013 installed, but I need to install Outlook 2010 Using Outlook 2
W I Need help with vb.net and outlook 2010 Using Outlook 2
R Outlook 2010 Daily Calender need high detail Using Outlook 2
S Outlook 2010, need script for rules & Warnings Using Outlook 3
T BCM 2007 to Outlook 2010 with no BCM - need contacts imported BCM (Business Contact Manager) 3
W Outlook 2010: Need to keep restarting outlook to download mail from a MAPI server Using Outlook 4
F Need to copy an email folder to another computer. How can i do this? Outlook 2010 Using Outlook 2
N need to revert back Outlook Express 6, 2010 trial expires tomorrow. Using Outlook 1
M Need help w/ Calendar Events not appearing in Outlook 2010 Using Outlook 1
N Need Help with Outlook 2010 Using Outlook 1
F Need to know the max size pst in outlook 2010 Using Outlook 2
D Need help repairing Outlook 2010. Using Outlook 2
D Need help with word wrap in Outlook 2010. Using Outlook 5
S need phone number to call for help with outlook 2010. Using Outlook 2
P Outlook 2010 Rules: Need a condition for time of day Using Outlook 2
B Need to load my contacts list and information from my office outlook - older version to my home outlook 2010 Using Outlook 1
F My Outlook 2010 Beta Trial ended, I need help getting email and contacts. Using Outlook 5
M Outlook 2010 doesn't download all emails - only a few. Need to keep hitting send/receive Using Outlook 1
W NEED HELP WITH OUTLOOK 2010 Using Outlook 2
C Need to know how to allow a hyperlink to work from and email in outlook 2010. Currently they are blocked and telling me to check with administrator. Using Outlook 3
P need Webmail (hosted by Windstream) to mimic Outlook 2010 Using Outlook 7
T 2010 Outlook multiple IMAPs All named INBOX Need better ID (even OL2003 named Inbox for account name) Using Outlook 3
M Need help with ease of entering contacts in a Contact Group in Microsoft Outlook 2010 Using Outlook 3
F got 0ffice 2010 and installed it and it asked if i wanted outlook updated to 2010. When I did it got rid of all my old emails that i need now. how d Using Outlook 1
N Outlook 2007/2010 , need help designing HTML signature that elegantly degrades to plain text Using Outlook 1
M Ms Outlook 2010 need all mail in one inbox. Using Outlook 1
G outlook 2010 trial was not working with my blackberry i need to remove it because it is interferring with my outlook 2007 which i reinstalled Using Outlook 1
L Need Suggestions on how to sync 2010 Outlook with Droid X...Help Using Outlook 1
R I need to add an exchange server mailbox to Outlook 2010, how? Using Outlook 3
N Do I need outlook connector for office 2010 as with outlook 2007? Using Outlook.com accounts in Outlook 1
M Need to establish Outlook 2010 as default email program. Using Outlook 7
e_a_g_l_e_p_i I think it may be time to upgrade from Outlook 2010 Using Outlook 3
T Why does outlook 2010 convert only some forum notifications to plain text? Using Outlook 2
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M Outlook 2010 Problem with OutLook 2010 32 bit, after Windows Auto Update Using Outlook 3
M PST import from Outlook 2007 to 2010 - Address Book contacts all in 1 group Using Outlook 4
D Outlook 2010 account setup fails in particular domain Using Outlook 3
B Outlook 2010 is Auto Purging when not configured for that Using Outlook 1
W Outlook 2010 Reading Pane Slows Startup Using Outlook 3
S Outlook 2010 unable to change default font Using Outlook 7
B Outlook 2010 Can not find a certain file in M/S Outlook 2010. Using Outlook 1
Mark Foley Cannot enable add-in in outlook 2010 Using Outlook 0
W Outlook 2010 some sent items marked unread now (was Ok before) Using Outlook 0
RBLampert Updating from Outlook 2010 to Outlook 365 Using Outlook 0
L What are the risks of opening an Outlook 2016 .pst file in Outlook 2010? Using Outlook 4
S Unable to remove rule outlook 2010 Using Outlook 0
N Outlook 2010 Flag blocked for Safe Senders List???? Using Outlook 7
Similar threads


















































Top