Code Samples

This category contains code samples put together to solve a specific user’s problem. The pages may not have detailed instructions for use.

Macro to Add or Remove a Category

Macro to Add or Remove a Category

Use a macro to toggle a category on and off on a Microsoft Outlook email message.

Filter and Save Contacts to a CSV File

Filter and Save Contacts to a CSV File

How to use a macro to filter and export Outlook Contacts to a CSV file.

Add Secure to the Message Subject before Sending

Add Secure to the Message Subject before Sending

Several users asked me how to add secure to the message subject before sending the message. I need a way to change the subject of an email after I hit send. Specific example: If I have a subject that says "meeting", after I hit send I would like the subject to be automatically changed to  

How to Create Messages Using Data in an Excel File

How to Create Messages Using Data in an Excel File

Create Outlook email messages using data contained in an Excel workbook OR CSV file.

Use a Macro to Assign Messages in a Shared Mailbox

Use a Macro to Assign Messages in a Shared Mailbox

How to use an Outlook macro to move messages to a new folder or mailbox or to assign categories to the message round-robin style.

Create an Appointment at the Contact's Address

Create an Appointment at the Contact's Address

How to create a new Outlook meeting with a selected contact. Includes a macro to include the contact's address in the Location field.

Fix the Outlook Folder Type after Exporting an IMAP Account

Fix the Outlook Folder Type after Exporting an IMAP Account

After importing IMAP folders to Personal Folders or an Exchange mailbox, messages in the imported folder are hidden.

Add the Age to a Birthday on Outlook's Calendar

Add the Age to a Birthday on Outlook's Calendar

How to add a person's current age to a birthday event on Outlook's Calendar using a macro.

Create Outlook Folders from a List of Folder Names

Create Outlook Folders from a List of Folder Names

How to use a macro to create Outlook folders from a list of folder names in a csv file.

Macro to Reply, ReplyAll, or Forward and File

Macro to Reply, ReplyAll, or Forward and File

Use a macro to file the original message by sender after responding.

This site uses XenWord.