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.
Similar threads
Thread starter Title 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 Do I need outlook connector for office 2010 as with outlook 2007? Using Outlook.com accounts in Outlook 1
D Outlook 2007 vs. Outlook 2010 -- ToDo Bar Using Outlook 0
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 0
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
dweller Outlook 2010 Rule Ignores VBA Script Outlook VBA and Custom Forms 2
Mark Foley Unable to subscribe to published calendar in Outlook 2010 Using Outlook 4
K Maximum Categorize Shortcuts In Outlook 2010? Using Outlook 1
E Unable to open Outlook 2010 after adding new email account Using Outlook 4
RBLampert Outlook 2010 no longer (?) shrinks large images Using Outlook 4
N Outlook 2010 will not send nor receive Using Outlook 4
U Outlook 2010 'freezes' before moving emails Using Outlook 2
P Outlook 2010 trusted emails going to spam folder Using Outlook 18
E Outlook 2010 Subject sort uses Thread-Topic for grouping Using Outlook 2
King Mustard Maximum Categorize shortcuts in Outlook 2010? Using Outlook 1
C Outlook 2010 keeps asking for username and password Using Outlook 1
M Duplicate Primary Mail Accounts outlook 2010 Using Outlook 0
T Compacting Outlook 2010 OST results in old emails being re-sent Using Outlook 6
K Outlook 2010 duplicate download emails 1 inbox 1 PST no updates Using Outlook 3
D create an html table in outlook custom form 2010 using vba in MsAccess Outlook VBA and Custom Forms 7
Potty Ash MS Outlook 2010 custom form - validation or formula to request user to check a checkbox Outlook VBA and Custom Forms 16
RBLampert Outlook 2010 sends to/receives from some Gmail addresses but not others Using Outlook 3
e_a_g_l_e_p_i Question about address book in Outlook 2010 Using Outlook 9
e_a_g_l_e_p_i Is there a good third party SPAM filter that intergrates with Outlook 2010 Using Outlook 7
e_a_g_l_e_p_i Another reinstall of Outlook 2010 issue Using Outlook 10

Similar threads

Top