The articles listed below contain VBA code samples. Additional code samples are listed at Developer Samples
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.
These samples contains the basic code for working with all items in a selected folder or selected items in a folder.
Add categories and change to Tentative the Focus Time appointments created by the Insights feature of Office 365 Exchange Online.
How to use a macro to set up an Automatic reply (out of office reply) in Outlook on Windows desktop.
Use an Outlook macro or PowerShell script to bulk delete folders from Outlook.
How to scan a document or image and attach or embed into an Outlook email using VBA and the Windows Image Acquisition Library (WIA).
Use a macro to automatically add travel time to new meetings on your Outlook calendar.
If you don't care for Calibri font as the default for RSS feeds, you need to use a macro to change the font (on font size) as the font cannot be changed by the user. We have code samples for both Outlook 2010 and 2007.
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.
A visitor to the Microsoft Answers forum asked about forwarding a message and automatically CCing it to the original recipients.
Use an Outlook macro to open every hyperlink in the selected email message. A version of the macro will open hyperlinks in every message in the selected folder.
Use an Excel macro to create appointments in subcalendars in Outlook. To use, type the appointment data, including the calendar name, into the spreadsheet then run the macro. The macro creates appointments in the correct calendar folder.
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 this VBA macro as an alternative to DocMessageClass for changing an Outlook item's message class.
How to use Rules or a macro to clear spam from Outlook's Junk Email folder.