O'Reilly logo

Microsoft® Office Outlook® 2007 Inside Out by Doug Sheresh, Beth Sheresh, Jim Boyce

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Macros

Macros are most useful for tasks that must be performed repeatedly without change. Even so, because a macro contains Visual Basic code, it can be flexible and can respond to variables or user input. With the power of scripting, a macro can accomplish a task in the most efficient way in response to specific conditions.

Caution!

Macros can be extremely powerful. This power can be a great asset for you, but it can also mean that any problems can become serious ones. Like many other things, macros can be dangerous when used improperly. Inexperienced programmers should take great care when writing and using macros in Outlook 2007.

Following are the three basic programming elements you can work with in an Outlook 2007 macro:

  • Object. An object ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required