Compartir a través de


How to: Manage Style Sheets

You can export data from card windows and lists in Microsoft Dynamics NAV to other programs, such as Microsoft Office Word or Excel. The data is exported as an XML file, and the file is formatted using a style sheet that has been imported into Microsoft Dynamics NAV.

You use the Manage Style Sheets window to import and export style sheets, and view the list of style sheets. Changes that you make in this window apply to all users of the database. There are default style sheets installed with Microsoft Dynamics NAV, which can be used to export any page to Word or Excel. You need to import a new style sheet if you want to export to another program. You can also import style sheets that are made especially for one particular page in Microsoft Dynamics NAV.

To import a style sheet

  1. In the Search box, enter Manage Style Sheets, and then choose the related link.

  2. In the Show field, choose one of the following options to specify the type of style sheet that you want to manage.

    Option Description

    All style sheets

    Default. Displays all style sheets. You must select one of the other options to import a style sheet.

    Style sheets common to all pages

    Displays the subset of style sheets that apply to all pages.

    Style sheets for a specific page

    Displays the subset of style sheets that apply to specific pages.

    If you choose the Style sheets for a specific page option, specify the page number in the Page No. field.

  3. On the Actions tab, in the Functions group, choose Import. The Import Style Sheet window opens.

  4. In the Style Sheet field, navigate to the location of the style sheet that you want to import.

  5. In the Name field, enter a name for the style sheet. By default, the file name of the style sheet is used.

  6. In the Send-to Program field, select an available option. By default, you can choose one of the following in the Send-to Programs window:

    • Microsoft Excel

    • Microsoft Word

    • Internet Explorer

    Choose the OK button to close the Send-to Programs window.

  7. In the Import Style Sheet window, choose the OK button.

    The style sheet is added to the list of available style sheets in the Manage Style Sheets window.

To export a style sheet

  1. In the Search box, enter Manage Style Sheets, and then choose the related link.

  2. Select a style sheet, and on the Actions tab, in the Functions group, choose Export.

  3. In the Export File dialog box, choose Open to view the file or choose Save to specify a location where you want to save the file.

See Also

Other Resources

Manage Style Sheets
Import Style Sheet