Udostępnij za pośrednictwem


How to: Show Add-in User Interface Errors

By default, if an add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI.

You can use these messages to help determine why a custom Ribbon does not appear, or why a Ribbon appears but no controls appear.

To show add-in user interface errors for Microsoft Office Word, Excel, and PowerPoint applications

  1. Start Microsoft Office Word, Excel, or PowerPoint.

  2. Click the Microsoft Office ButtonOffice 2007 Button.

  3. Click Word Options, Excel Options, or PowerPoint Options.

  4. In the categories pane, click Advanced.

  5. In the General section of the details pane, select Show add-in user interface errors, and then click OK.

To show add-in user interface errors for Microsoft Office Outlook

  1. Start Microsoft Office Outlook 2007.

  2. On the Tools menu, click Options.

  3. In the Options dialog box, click the Other tab, and then click Advanced Options.

  4. In the Advanced Options dialog box, select Show add-in user interface errors, and then click OK.

  5. Click OK to close the Options dialog box.

See Also

Tasks

How to: Create Office Menus Programmatically

How to: Create Office Toolbars Programmatically

Concepts

Office UI Customization

Creating Outlook Form Regions

Ribbon Overview

Actions Pane Overview