• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 43. Creating Application-wide Ou... > Programming Common Outlook Tasks wit...

Programming Common Outlook Tasks with VBA

With the introduction of VBA to Outlook 2000, many exciting possibilities have opened up, allowing developers much greater control of the Outlook environment and Outlook events, both from within Outlook and from other applications that support Automation. The following sections will give you an idea of how you can use Outlook VBA code to make it easier to perform common tasks, or customize the Outlook interface.

Creating a Custom Toolbar Button to Print New Mail Messages

Since the earliest version of Outlook, users have wanted to be able to print new mail messages automatically. With Outlook 2000, it is easy to write a macro that prints all the unread mail messages in the Inbox, and (if desired) you can place a button to run the macro on your Outlook toolbar. To create such a macro, implement the following steps:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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