

The user sees the full Options dialog box, just as if they'd clicked the Options button on a message. After checking to make sure you're not using Word as the editor, you can use this procedure to locate the toolbar or menu command for the Options dialog box by its ID number, then execute it.

However, if you're using the built-in editor, use the code that Listing 2 shows, again putting it in the ThisOutlookSession module. In Outlook 2000, the addition isn't quite so simple because messages that you create with WordMail (i.e., Microsoft Word as your email editor) act differently from those you create with the built-in Outlook editor. Based on the hover location of the mouse, most applications will display a specific menu. NET Magazine Outlook VBA on Demand column "Back to Basics" (, InstantDoc ID 21522). Popup menus are generally invoked by right-clicking the mouse button. This Boolean will be in an if statement that determines whether the button action should happen: If popup () True Then 'commit this purchase to global variables End If asp.net vb. If you need help getting started with Outlook VBA, I've summarized the basics in my August 2001 Windows &. I would prefer that this popup is not a new tab on the browser, instead a new window so that I can choose the dimensions. Just put the code that Listing 1 shows in the ThisOutlookSession module in your VBA project. This task is easy to do with Visual Basic for Applications (VBA) code in Outlook 2002, which adds a ShowCategoriesDialog method to all Outlook items. How can I make a box pop up when I send a message so that I can set a category for the message I'm sending?
