The articles listed below contain VBA code samples. Additional code samples are listed at Developer Samples
How to scan a document or image and attach or embed into an Outlook email using VBA and the Windows Image Acquisition Library (WIA).
How to create your own send to shortcut that uses your Outlook stationery and signature. Customize the shortcuts to include the email addresses and more.
Use an Outlook macro or PowerShell script to bulk delete folders from Outlook.
How to create a custom field to mark messages that were responded to in Microsoft Outlook.
How to use PowerShell to export, import or merge categories in different Outlook mailboxes.
How to read MAPI properties that are not exposed in the VBA Object model using the Property Accessor object.
Use an Outlook macro to create a list of users in the Exchange Global Address List or a list of member of a distribution group in the GAL.
Use an Application Startup macro to run Outlook's client side rules automatically.
Use a macro to import data from a CSV or Excel xlsx file to create meeting requests or appointments.
Use VBA to select multiple calendars in overlay mode. Can deselect iCloud calendars using this code. Code Sample included.
How to use a VBA macro to insert a predefined text into the subject field of a new messages. Method works with any Outlook item type.
Do you want Outlook to run certain rules during specific time periods, like only overnight, then turn them off when you are in the office? You can use VBA and task reminders to turn your rules off and on.
How to get a list of Outlook Meeting attendees and their responses using VBA. This code sample gets the appointment details and attendees (along with their responses) and inserts it into a new Outlook message form, which you can print, send or copy the data fir use in other applications.
When you use rules to move sent messages, the sent items are not marked read when they are copied to other folders. You need to VBA to mark the messages read.
How to create a toolbar button in Outlook 2007 or Outlook 2010 to open templates and files and disable the security warning dialog that displays before the template or files opens.