- #MICROSOFT OUTLOOK FOR MAC 2019 CREATING A RULE HOW TO#
- #MICROSOFT OUTLOOK FOR MAC 2019 CREATING A RULE MANUAL#
If you have more than one email account configured in Outlook on your computer, click the + button to the right of days old to add the next rule condition and set it for your Liberty University email account.For example, to have all messages that are older than 180 days moved from your account on the server to your Inbox on your computer, select the following:In the When a new message arrives: section, change the first drop-down to Date Received. Select Is Greater Than and type 180 in the days old field. This will appear in the Outlook Rules window (shown in Step 2) if you need to review, modify, or delete it in the future. In the Rule Name field of the next window, type in a description for the rule you are creating.Click on Exchange in the left column of the window to highlight it, then select the + sign at the bottom of the window to add a rule.You can put the subroutine in any module, including ThisOutlookSession, but if you move the subroutine to another module or change the subroutine's name, you must modify the rule to point to the updated subroutine.Setting up archiving for Outlook 2016 for Mac: MsgBox "Meeting request arrived: " & Item.Subject Sub CustomMeetingRequestRule(Item As Outlook.MeetingItem)
![microsoft outlook for mac 2019 creating a rule microsoft outlook for mac 2019 creating a rule](https://helpdeskgeek.com/wp-content/pictures/2019/07/Type-in-Email-Address.png)
MsgBox "Mail message arrived: " & Item.Subject
#MICROSOFT OUTLOOK FOR MAC 2019 CREATING A RULE HOW TO#
The following Outlook Visual Basic for Applications code illustrates how to create the subroutines: Sub CustomMailMessageRule(Item As Outlook.MailItem) You cannot create one subroutine to handle both types of items by defining the argument to be of type Object. The argument must by of type MailItem or MeetingItem, otherwise the subroutine will not be available in the Rules Wizard. The name of the subroutine does not matter, but it must accept one argument because the Rules Wizard will pass a mail message (MailItem) or meeting request (MeetingItem) to the subroutine. To implement the custom code to process the message, create a subroutine in Visual Basic for Applications. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services.įor more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site: Microsoft Support Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. For additional information about limitations related to distributing Visual Basic for Applications projects, click the following article numbers to view the articles in the Microsoft Knowledge Base:Ģ90779 Description of managing and distributing Outlook 2002 Visual Basic for Applications (VBA) projects
![microsoft outlook for mac 2019 creating a rule microsoft outlook for mac 2019 creating a rule](https://venturebeat.com/wp-content/uploads/2019/04/sol_still_one1.png)
You cannot create the custom code in an Outlook COM Add-in.
![microsoft outlook for mac 2019 creating a rule microsoft outlook for mac 2019 creating a rule](https://www.itechguides.com/wp-content/uploads/2019/10/image-37-1024x715.png)
#MICROSOFT OUTLOOK FOR MAC 2019 CREATING A RULE MANUAL#
Also, Outlook Visual Basic for Applications is not designed to be deployed, so deployment of this custom code requires manual configuration on each user's computer. Although the Rules Wizard refers to the custom code as "script," you must create the code in Outlook Visual Basic for Applications, not in Microsoft Visual Basic Scripting Edition (VBScript) or other scripting languages such as Microsoft JScript.