BackPrevious Page Next PageNext

Exporting to Excel

To export the result of a report to an Excel file, follow the steps below:

  1. Open the report that you want to export.
  2. Click File > Export > To Excel. The Export to Excel dialog appears.

    Export to Excel dialog

  3. Click the Browse button to specify the destination directory where the exported Excel file will be placed and the name of the file. You can also input the location and file name manually in the Directory and File Name text boxes (make sure that the folder you specify does exist, otherwise an error message will be produced).
  4. If you are exporting a page report, in the Select Report Tabs box, select the report tabs in the page report you want to export. The selected report tabs will be exported into multiple sheets of the Excel file in the list order. You can click Move Up button or Move Down button to change the order of the report tabs.
  5. From the Excel Version drop-down list, select the version for the exported Excel file.
  6. Select the format of the exported Excel file from the Format drop-down list.
  7. Click More Options to customize other properties for the exported Excel file if needed.
  8. If you have selected the format other than Data Format, check Include Shapes in Export if you want to include the drawing objects in the exported Excel file, and specify the page header and footer text to be displayed and whether to include gridlines when printing the exported Excel file.
  9. From the Word Wrap drop-down list, specify the word wrap setting for the report components in the Excel result.
  10. Check Run Linked Report if you want to include the reports that is linked with the report (not including the detail reports) in the Excel result. If you are only interested in the primary report, leave this option unchecked. Generating linked reports at the same time, especially when the linked reports contain a large amount of data, will cause performance issue.
  11. Click OK to start exporting.

You should pay attention to the following when using the Export to Excel feature:

Tip: JReport provides several properties related with exporting page report tabs to Excel, which can help you enhance the report appearance in the exported Excel file, manage data in the Excel worksheet, improve the exporting performance and so on. These properties include: Merge to Next Panel, Repeat in Detail Panel, Remove Blank Row, On New Sheet, Rows per Sheet, Column Index, Row Index, Bottom Attach Column, Bottom Attach Row, Top Attach Column, Top Attach Row, Column Number, Row Number, Column Width List, Excel Buffer Size. You can set them according to your requirements appropriately.

BackPrevious Page Next PageNext