The articles listed below contain VBA code samples. Additional code samples are listed at Developer Samples

Reply or ReplyAll with Attachments
Unlike Lotus Notes, Outlook does not include a built in method to reply or reply all and include the original attachments in the reply. However there are ways to do it, including using VBA to create custom reply and reply all buttons. We show you how.

Replicate GTD: Create a task after sending a message
Replicate the Getting Things Done Outlook Addin function to simultaneously reply to an email message, create a task or appointment, and have that email reply linked to the task or appointment.

Create Task or Appointment and Insert Selected Text
An Outlook user wanted to know how to create a task from an email message but only include the actionable part of the message in the task. Easy: drag the selection to the Task or Calendar folder or use a macro.
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.
Create an Outlook Appointment from a Message
A VBA code sample that creates an appointment from an email message and adds it to a shared calendar or a calendar in another data file.

How to set a flag to follow up using VBA
You can edit the Flag to Follow up field text each time you flag a message, but you can't save the changes permanently, or even temporarily in an MRU list. However, you can use VBA to set flags, which will allow you to save custom Flag to text, as well as custom reminder times and start or due dates.

Macro to Swap First and Last Name Fields
Outlook lets you set the default full name order in Options. You can choose between 'First (Middle) Last' or 'Last First' (no comma separator), as well as 'First Last1 Last2'. The traditional format of 'Last, First', with a comma separator, is also supported by default. Outlook is smart enough to properly assign the names to
Bulk Move Phone Numbers to a Different Phone Field
How to use VBA to move Outlook's Contact phone numbers to a different phone number field. This is useful when syncing smartphones that support different fields.

Update Contacts with a New Company Name and Email Address
It can be a real hassle to update contacts when a company changes their name and domain. While it's actually really easy to change the company name by using group by company view and dragging contacts to a new group, you can't change the email address field using this method.

Saving All Messages to the Hard Drive Using VBA
Use this code to save messages with the date in the filename, retaining the Outlook file structure. To save selected messages as PDF files, see Save Outlook email as a PDF This code sample will save all messages in a specific Outlook folder (and any subfolders of the selected folder) in a folder you select

Use a Macro to Copy Data in an Email to Excel
Use RegEx to copy text from an email message and insert it into an Excel workbook.

Delegates, Meeting Requests, and Rules
How to use a run a script rule in Outlook to add a category to delegated meetings.

Convert RTF Messages to Plain Text Format
Use a simple macro to convert RTF formatted messages to plain text format.

