Use this code sample and function to display the Internet header of selected message in a new message form.
How to scan a document or image and attach or embed into an Outlook email using VBA and the Windows Image Acquisition Library (WIA).
Outlook doesn't support creating shortcuts to folder on the Quick Access toolbar (QAT) or ribbon, but you can put macro on the QAT or ribbon that opens a folder.
The code samples on this page ask for confirmation before a contact is deleted. This way you don't need to retrieve the contact from the Deleted items folder and move it back to the contacts folder. The first code sample works with selected contacts, the second one works with opened contacts. You can use both
After importing IMAP folders to Personal Folders or an Exchange mailbox, messages in the imported folder are hidden.
Use a macro to toggle a category on and off on a Microsoft Outlook email message.
Use VBA to export a photo from a contact and save it to the hard drive. Use a second macro to add the photo to a new contact.
Use PowerShell or VBA to get the creation date of a folder in Outlook desktop software.
How to use a macro to resend a sent message in Outlook 2013 and Outlook 2016.
These samples contains the basic code for working with all items in a selected folder or selected items in a folder.
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.
A user wanted to know how to remove [External] from the subject of incoming messages. My company recently instituted the policy that puts the [EXTERNAL] tag in every subject when an email is received from outside the organization. When it's only one email, it's not really an issue. However, when it turns into a thread
These macros create a list of incomplete tasks or flagged messages not marked completed. The first macro uses a filter to create a list of Tasks not marked complete and works only with the Tasks folder. The second macro checks every item in the select folder for flagged items and lists the items not marked
This macro allows you to rename attachments on incoming or outgoing messages.
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