The articles listed below contain VBA code samples. Additional code samples are listed at Developer Samples
Change the Mailing Address Using PowerShell
How to use PowerShell to bulk change the Mailing Address selector (or move the address to a different address field) in classic Outlook's contacts.
Show the Home Address on a Contact Form by Default
How to customize Outlook Contacts so that the Home address is the default address for all new contacts.
Save Selected Email Message as .msg File
A VBA code sample to save one or more selected messages to your My Documents folder as .msg files, using the received date and time as the filename.
Categorize @Mentioned Messages
A user wanted to know how to create a rule to add a category to messages he was @mentioned on. I'll show you how to use a run a script rule or an ItemAdd macro to set a category on a message you were @mentioned on in classic Outlook.
Resize images in an Outlook email
Use a VBA macro to resize large images in received email.
How to Hide or Delete Outlook's Default Folders
Step-by-step instructions you can use to delete or hide the default folders (such as the junk email and suggested contacts folders) that Microsoft Outlook creates in your data files.
Hide Extra Folders in Outlook.com
How to hide extra Contact folders, left from previously linking contact sources with Outlook.com accounts, so they aren't visible in Outlook or on smartphones.
Working with VBA and non-default Outlook Folders
How to use VBA to 'do something' in Outlook's non-default folders.
Send an Email When You Open Outlook
Today's entry in the Fun with Programming series is a macro to send a message every day when you first open Outlook.
Get Outlook's Internet Headers using VBA or PowerShell
Use this code sample and function to display the Internet header of selected message in a new message form.
Save and Rename Outlook Email Attachments
Use a macro to save attachments on Outlook email messages to a folder on your hard drive and add the files last modified date to the filename.
Delete duplicate messages using a macro
Use a macro to clean up duplicates messages in an Outlook folder.
Print a list of your Outlook folders
How to create a list of the folders in Microsoft Outlook data files. This code works with any data file in the Outlook profile.
Receive a Reminder When a Message Doesn't Arrive?
Use a run a script rule to set reminders to alert you if a new message (such as routine server alerts) doesn't arrive within a specified time.
Use VBA to Scan to Email
How to scan a document or image and attach or embed into an Outlook email using VBA and the Windows Image Acquisition Library (WIA).