Free tutorials for Java, Eclipse and Web programming



Follow me on twitter

Microsoft Outlook Macros - Tutorial

Lars Vogel

Version 0.5

28.09.2010

Revision History
Revision 0.128.09.2008Lars Vogel
Created
Revision 0.2 - 0.521.06.2009 - 28.09.2010 Lars Vogel
bugfixes and enhancement

Microsoft Outlook Macros

This article describes how to create macros in Visual Basic for the email client Microsoft Outlook.


Table of Contents

1. Overview
2. Outlook Macros
2.1. Create automatically greetings for email receiver
2.2. Macro for moving email to specified folder
3. Define shortcuts for your macros
4. Outlook
4.1. Reset the views
4.2. Signature for macros
4.3. A program is trying to access e-mail addresses you have stored in Outlook
5. Thank you
6. Links and Literature

1. Overview

Microsoft Outlook allow the user to define macros written in Visual Basis to automate certain activities.

To create a macro select Tools -> Macro -> Macros

Type in the name of your desired macro and press "Create".

You can now write your macro.

			
Sub Hello_Outlook()
    MsgBox ("Hello Outlook")
End Sub

		

To run your macro, open Tools -> Macro -> Macros, select your macro and press Run.