Microsoft KB Archive/142529

= XL: How to Create Multiple Views and Create and Print a Report =

Article ID: 142529

Article Last Modified on 8/18/2005

-

APPLIES TO


 * Microsoft Excel 97 Standard Edition
 * Microsoft Excel 95 Standard Edition
 * Microsoft Excel 98 for Macintosh

-



This article was previously published under Q142529



For a Microsoft Excel 2002 version of this article, see 291072.

For a Microsoft Excel 2000 version of this article, see 214258.



SUMMARY
A view is a picture of the worksheet that has specific characteristics associated with it, such as print settings and whether to include hidden rows and columns. In View Manager, under View Includes, you can select two check boxes:
 * The Print Settings check box. This option saves the currently selected print options with the view.
 * The Hidden Rows & Columns check box. This option saves hidden rows and columns with the view.

Typically, a report is made of multiple views. The "More Information" section of this article demonstrates how to create multiple views, how to create a report from those views, and how to print the report.

Note To use Report Manager or View Manager, you must have the respective add-in installed. If the add-ins are not listed in the Add- Ins dialog box, run Setup in maintenance mode to install them.



Creating the Views
 Click New on the File menu to open a new workbook.  Type the following data in Sheet1:      A1: View1   B1:   C1: View2 A2: 1      B2:   C2: 1 A3: 2      B3:   C3: 2 A4: 3      B4:   C4: 3 A5: 4      B5:   C5: 4  Select the range A1:A5 and set the print area to this range of cells. On the View menu, click Custom Views (or click View Manager in Microsoft Excel 5.0 or 7.0) Click Add, type View1, and then click OK. Select range C1:C5, and set the print area to this range of cells.</li> On the View menu, click Custom Views (or View Manager).</li> Click Add, type View2, and then click OK.</li></ol>

Creating a Simple Report

 * 1) In Microsoft Excel 7.0, Microsoft Excel 97 or Microsoft Excel 98 Macintosh Edition, click Report Manager on the View menu.

In Microsoft Excel 5.x, click Report Manager on the File menu.
 * 1) Click Add.
 * 2) In the Report Name box, type MyReport.
 * 3) Under Section To Add, make sure the View check box is selected, select View1, and then click Add. Repeat this step to select View2.
 * 4) Click OK.

Printing the Report

 * 1) In the Print Report dialog box, click Print.
 * 2) In the Print dialog box, click OK.

<div class="references_section">