The articles listed below contain VBA code samples. Additional code samples are listed at Developer Samples
Create tasks from email as they arrive using a simple script and Rules Wizard. With a slight variation, you can create a task from the message you are reading in the reading pane. Complete instructions and ready-to-use code samples included.
The following code saves the attachments from selected messages but does not delete the attachments from the message(s). This VBA code is based on the code sample from my Outlook book: Save and Delete Attachments. Use it if you want to save the attachment, add a link to the saved file, and delete the attachment
How to create your own send to shortcut that uses your Outlook stationery and signature. Customize the shortcuts to include the email addresses and more.
How to automatically create tasks for message you send using a VBA macro.
Use this VBA macro as an alternative to DocMessageClass for changing an Outlook item's message class.
Many users have a problem with Outlook missing misspelled words. In many cases this happens because the person is typing in the signature field, either accidentally or intentionally.
How to use VBA to automatically open up Outlook windows in a particular order (mail, calendar, contacts and tasks) with each in a specific size and screen position.
I get quite a few complaints from people who say their fonts are tiny (or huge) or the font used for the reply shrinks yet Microsoft Outlook shows they are using a normal size font (such as 10 or 12 pt). I'll show you how to fix it. I also have a macro that will set the zoom level for you.
Use a run a script rule to delete older versions of an email message from Outlook. Great for status reports and similar messages.
Basic instructions on using Outlook's VBA editor: how to open it, where to put the code, how to sign your code.
How to use a macro to create Outlook folders from a list of folder names in a csv file.
Replicate the Getting Things Done Outlook Addin function to simultaneously reply to an email message, create a task or appointment, and have that email reply linked to the task or appointment.
Use a macro to create a field in Outlook's Sent Items folder that displays the email addresses the message was sent to.
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 an Excel macro to create appointments in subcalendars in Outlook. To use, type the appointment data, including the calendar name, into the spreadsheet then run the macro. The macro creates appointments in the correct calendar folder.