Developer

Articles and VBA code samples for Microsoft Outlook. Suitable for beginners and intermediate users. Many pages within this category will have detailed instructions for use.

Selectively change message format when replying

Selectively change message format when replying

How to change the message format on selected messages when replying.

Copy attachment names when replying

Copy attachment names when replying

Use a macro to copy attachment names from the original message to the reply or reply all in HTML or plain text messages.

Publish a custom form in another user's mailbox

Publish a custom form in another user's mailbox

Publish a template to another user's mailbox using a macro or a custom form.

Process items in a shared mailbox

Process items in a shared mailbox

You can't run rules on a shared mailbox and client-side rules in a mailbox won't run if Outlook is not open. Use an ItemAdd macro to watch the folder for new items.

Foward a message and CC the original recipients

Foward a message and CC the original recipients

A visitor to the Microsoft Answers forum asked about forwarding a message and automatically CCing it to the original recipients.

Create tasks for outlook.com and a second Tasks folder

Create tasks for outlook.com and a second Tasks folder

This VBA code sample is the result of a discussion in the Microsoft Answers forum. Because of recent changes at Outlook.com, tasks, appointments, and contacts do not support attachments. You can add attachments to the items in Outlook 2013, but the attachments are hidden.

Shortcuts to open Outlook folders

Shortcuts to open Outlook folders

Outlook doesn't support creating shortcuts to folder on the Quick Access toolbar (QAT) or ribbon, but you can put macro on the QAT or ribbon that opens a folder.

Moving Deleted Items

Moving Deleted Items

Moving deleted items from the Deleted Items folder using Quick Steps or a macro.

Create Tasks from Email and move to different Task folders

Create Tasks from Email and move to different Task folders

Use this macro to create tasks from email messages and move them to different task folders.

Select multiple calendars in Outlook

Select multiple calendars in Outlook

Use VBA to select multiple calendars in overlay mode. Code Sample included.