• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

18.5. Code Examples

In this section, we'll take a look at some examples that more fully illustrate some of the things you can do using VBA in Outlook.

Example 18-1 is a macro that opens all high-priority mail items in your Inbox. Notice that the macro is declared as a public subprocedure with an empty parameter list.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint