The articles listed below contain VBA code samples. Additional code samples are listed at Developer Samples
Use an Outlook macro or PowerShell script to bulk delete folders from Outlook.
How to use PowerShell to export, import or merge categories in different Outlook mailboxes.
How to use PowerShell to bulk change Outlook Contact fields, including the File As and Email display name fields.
Basic instructions on using Outlook's VBA editor: how to open it, where to put the code, how to sign your code.
One thing that Outlook cannot do by itself is automatically create new entries in Contacts for people you send messages to. This VBA code sample by Sue Mosher provides a way to add recipients automatically. To avoid the Outlook security prompts, it uses the Redemption library, which provides a wrapper for Extended MAPI that does
Outlook Contacts offer a number of File As formats and this format can be used for the contact's name display in the Address Book. If you want to change the FileAs format on all of your contacts at once, you can use VBA. Complete, ready-to-use code is available.
Use this VBA macro as an alternative to DocMessageClass for changing an Outlook item's message class.
Use a macro to make changes to any Outlook contact field, by folder or by selection.
Solutions available! When attachments are opened from a message in Outlook 2010, they are read-only. Users cannot edit the attachment and save the changes back to the message, they need to save the attachment to the hard drive and reattach it.
When you use Microsoft Outlook 2010 or Outlook 2013 and have multiple accounts delivered to different *.pst files, Outlook doesn’t use the default account set in Account settings. Instead, it uses the account associated with the mailbox or *.pst file the folder you are viewing is stored in. This change in behavior doesn't work well when an IMAP is configured to be the default email account and you have a POP3 account delivered to the default pst file.
Use VBA to process messages based on the day of the week or the time of day they were received.
Warn before sending mail macro: Check recipients contacts for specific categories before sending.
Do you accidently send messages to the wrong email address? You can use a VBA macro that checks the outgoing addresses before sending the message.
How to remove cancelled meetings from an Exchange server resource calendar.
How to remove attachments from selected messages in Microsoft Outlook's Sent Items folder using VBA.