[Pansophy] [EXTERNAL] RE: Microsoft Outlook Email Setup
Hoisington, Corinne
hoisingtonc at centralvirginia.edu
Thu Jan 16 10:13:40 EST 2025
Allen,
Let me provide a few ideas with Outlook. Let me start with an easy solution but I have more in-depth ideas as well.
1. To create an Outlook rule to sort emails containing a specific word into a designated folder, you can leverage the built-in rule creation functionality.
This involves defining a rule that identifies emails with the target word in the subject, body, or other criteria, and then specifying the action to move those emails to the designated folder. This automated process streamlines email management by automatically organizing messages based on specific keywords, reducing manual sorting and improving inbox efficiency. See this site for a step-by-step: https://urldefense.proofpoint.com/v2/url?u=https-3A__www.howtogeek.com_442362_how-2Dto-2Dautomatically-2Dsort-2Demails-2Dinto-2Dspecific-2Doutlook-2Dfolders_-23-3A-7E-3Atext-3DTo-2520create-2520a-2520rule-2520the-2520simple-2520way-252C-2520open-2Cthe-2520rule-2520to-2520any-2520emails-2520from-2520that-2520address&d=DwIFAg&c=CJqEzB1piLOyyvZjb8YUQw&r=pehF888HHFFpmFi_m2TEi_xdzR5c9HAKdb3sfysZyVY&m=c_GG7UZ_dicGz4HRMYQLeV5XrPLuHEp1rxx6vMxTbayHVM5KscQOR0V3T1lgRwC0&s=8w4POth_M_oKY6p5WPceHDcyOKzeJXM8IOuDX28IE4o&e= .
Yes, you can use a VBA macro in Outlook to create folders and filters for your employees. This can significantly reduce the time and effort required to set up these organizational tools for a large number of users.
Here's a basic example of an Outlook VBA macro to create a folder and a simple filter:
Sub CreateFolderAndFilter()
Dim objNS As Outlook.Namespace
Dim objFolder As Outlook.MAPIFolder
Dim objRule As Outlook.Rule
Set objNS = Application.GetNamespace("MAPI")
' Create a new folder named "Important"
Set objFolder = objNS.GetDefaultFolder(olFolderInbox).Folders.Add("Important")
' Create a new rule to move emails from a specific sender to the "Important" folder
Set objRule = Application.Session.DefaultRuleSet.Rules.Add("Important Emails")
With objRule
.Recipients(1).Name = "your_sender_email_address" ' Replace with the sender's email address
.Actions.Add olRuleActionMove, objFolder
.Enabled = True
End With
' Save the rule changes
Application.Session.DefaultRuleSet.Save
MsgBox "Folder and filter created successfully!", vbInformation
End Sub
Let me know if you have any questions. Always around to assist.
[cid:image001.png at 01DB6830.F12738C0]
PROFESSOR
CORINNE HOISINGTON
Central Virginia Community College
[cid:image002.jpg at 01DB6830.F12738C0] <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_in_corinnehoisington_&d=DwIFAg&c=CJqEzB1piLOyyvZjb8YUQw&r=pehF888HHFFpmFi_m2TEi_xdzR5c9HAKdb3sfysZyVY&m=c_GG7UZ_dicGz4HRMYQLeV5XrPLuHEp1rxx6vMxTbayHVM5KscQOR0V3T1lgRwC0&s=2azQGRNTcpjd8kaOJEKXo4it9VruRzgWyIh54WfW4is&e= >
Email: hoisingtonc at centralvirginia.edu
From: Allen Samuels <samuels at jlab.org>
Sent: Thursday, January 16, 2025 3:50 PM
To: Hoisington, Corinne <hoisingtonc at centralvirginia.edu>
Cc: pansophy <pansophy at jlab.org>; Zeynep Ceribasi <ceribasi at jlab.org>
Subject: Microsoft Outlook Email Setup
You don't often get email from samuels at jlab.org<mailto:samuels at jlab.org>. Learn why this is important<https://urldefense.proofpoint.com/v2/url?u=https-3A__aka.ms_LearnAboutSenderIdentification&d=DwIFAg&c=CJqEzB1piLOyyvZjb8YUQw&r=pehF888HHFFpmFi_m2TEi_xdzR5c9HAKdb3sfysZyVY&m=c_GG7UZ_dicGz4HRMYQLeV5XrPLuHEp1rxx6vMxTbayHVM5KscQOR0V3T1lgRwC0&s=okECRNohNz12iclvcw1bIzUFitSdKOMzL_rA9LdTo78&e= >
Corinne,
During the training you ran to teach Sharepoint at Jefferson Lab you mentioned you'd be happy to answer other questions related to Microsoft. I was wondering if I could pick your brain regarding Outlook.
We're interested in setting up folders and filters for employees in Outlook to help standardize where emails go and keep users from becoming overwhelmed by a large unsorted volume of messages. This can be done, but is time consuming if done manually for each user. We were wondering if there was a macro or something that could be created that when run would set up the folders and filters for us? Is this a functionality that you're aware of?
Thank you for your time,
Allen Samuels
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/pansophy/attachments/20250116/af3d872b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 38411 bytes
Desc: image001.png
URL: <https://mailman.jlab.org/pipermail/pansophy/attachments/20250116/af3d872b/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 2117 bytes
Desc: image002.jpg
URL: <https://mailman.jlab.org/pipermail/pansophy/attachments/20250116/af3d872b/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 120 bytes
Desc: image003.png
URL: <https://mailman.jlab.org/pipermail/pansophy/attachments/20250116/af3d872b/attachment-0003.png>
More information about the Pansophy
mailing list