The articles listed below contain VBA code samples. Additional code samples are listed at Developer Samples
This macro allows you to rename attachments on incoming or outgoing messages.
How to use Len, Left, Right, Mid, and InStr to extract text from Microsoft Outlook fields and message bodies.
After importing IMAP folders to Personal Folders or an Exchange mailbox, messages in the imported folder are hidden.
New to Outlook 365: Remember Zoom Preferences. If the fonts in incoming messages are tiny (or huge), you may have a Zoom problems. I'll show you how to fix it. If you don't have an Office 365 subscription, I have a macro that will set the zoom level for you.
Use this code sample and function to display the Internet header of selected message in a new message form.
How to use PowerShell to bulk change Outlook Contact fields, including the File As and Email display name fields.
A user with way too many contact folders created a new profile and none of the contact folders were listed in the Address Book menu. With more than 200 contacts folders, it would take several hours to enable each folder manually. I had a macro that needed just a little tweaking to set the folders
Use this VBA macro as an alternative to DocMessageClass for changing an Outlook item's message class.
How to choose the file path when you save an Outlook attachment or a message using a VBA macro.
Use a VBA macro to resize large images in received email.
This variation of the Resize Images in Email macro puts a border and shadow around all images in the message you are composing.
This macro will go through the messages in a folder and create a contact for each sender A user needed to solve this problem: My contact list on a prior system was deleted. I imported all of my emails into my new Microsoft Outlook 2003 but going through all the emails individually to add contacts
How to use PowerShell, VbScript or VBA to set Outlook to work offline.
Tighter security on Outlook Custom forms breaks VBScript in the forms and some controls. Set a registry key to enable these features.
Use a macro to clean up duplicates messages in an Outlook folder.