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.

Categorize Yammer Messages by Group

Categorize Yammer Messages by Group

How to use a macro to categorize incoming Yammer messages using an ItemAdd macro.

Forward Messages that were not Replied To

Forward Messages that were not Replied To

Use a macro to forward Outlook email messages that are waiting for a reply after a number of days.

Use VBA to get an Appointment's Time Zone

Use VBA to get an Appointment's Time Zone

Use a macro to add an appointment's time zone name to the appointment as a category or custom field.

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.

This site uses XenWord.