This category contains code samples put together to solve a specific user’s problem. The pages may not have detailed instructions for use.
Use this macro to create tasks from email messages and move them to different task folders.
Use VBA to select multiple calendars in overlay mode. Can deselect iCloud calendars using this code. Code Sample included.
Macro to replace the Go To Date feature of Outlook's Calendar. From an open appointment, run the macro. The calendar opens to the date of the appointment.
Use Microsoft Word’s ‘use source formatting’ paste command to paste formatted text into an Outlook item body.
How to use VBA to save selected Outlook messages as PDF files.
Use the ItemChange event to run a macro when the value in a field is changed in Outlook. In this example, when a task is marked complete, the Category is updated.
Use a VBA macro to always open a specific folder when you switch to a module.
How to use a VBA macro to insert a predefined text into the subject field of a new messages. Method works with any Outlook item type.
Use a VBA macro to monitor a folder in a secondary mailbox for new messages.
Although Outlook VBA doesn't include a paste from clipboard function directly, you can use the MSForms dataobject to transfer the clipboard contents to a string which is then called from VBA.