XL: Setting Print Area and Print Titles on WorksheetLast reviewed: May 14, 1997Article ID: Q121401 |
The information in this article applies to:
SUMMARYThe following information describes different methods that you can use in Microsoft Excel to set a print title and a print area on your worksheet.
MORE INFORMATION
Print Area Menu ItemIn Microsoft Excel versions 7.0 and 97, there is a "Print Area" menu item on the File menu. To set the print area on your worksheet using the "Print Area" menu item, do the following:
Page SetupYou can use the Sheet tab of the Page Setup dialog box to set either a print area or a print title on your worksheet. To display the Page Setup dialog box, click Page Setup on the File menu. NOTE: Although you can access the Page Setup dialog box by clicking the Setup button in Print Preview, you cannot enter a print area or print title using this method. Use the following steps to set the print area or print title:
Set Print Area ButtonBy default, the "Set Print Area" toolbar button is not on the Standard toolbar. However, you can add the "Set Print Area" button to any existing toolbar, or create a custom toolbar that contains this button. This button allows you to set the selected cells on your worksheet as the print area. To add the "Set Print Area" toolbar button to an existing toolbar, do the following:
Microsoft Excel 97
Microsoft Excel versions 5.0 and 7.0
To clear a print area using this button, select the entire worksheet by clicking the select-all button (at the intersection of the row and column headings) or press CTRL+SHIFT+SPACEBAR and then click the "Set Print Area" button.
Set Print Titles Dialog BoxMicrosoft provides examples of Visual Basic for Applications procedures for illustration only, without warranty either expressed or implied, including, but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Visual Basic procedures in this article are provided 'as is' and Microsoft does not guarantee that they can be used in all situations. While Microsoft support engineers can help explain the functionality of a particular macro, they will not modify these examples to provide added functionality, nor will they help you construct macros to meet your specific needs. If you have limited programming experience, you may want to consult one of the Microsoft Solution Providers. Solution Providers offer a wide range of fee-based services, including creating custom macros. For more information about Microsoft Solution Providers, call Microsoft Customer Information Service at (800) 426-9400. You can use the following Visual Basic procedure to display the Set Print Titles dialog box:
Sub Set_Print_Titles() Application.Dialogs(xlDialogSetPrintTitles).Show End SubWhen you run this macro, the "Set Print Titles" dialog box appears. You can then enter or select ranges for either "Titles for columns" or "Titles for rows", or both. NOTE: You can assign this procedure to a toolbar button for quick access.
Print Dialog Box Option to Print SelectionYou can also print a selection of cells on a worksheet without setting a specific print area. To use this method, do the following:
ARTICLE-ID: Q109192 TITLE : XL AppNOTE: Printing Questions and Answers (XE0924) ARTICLE-ID: Q105817 TITLE : XL: Defined Names for Print Area or Titles May Not Be Dynamic ARTICLE-ID: Q117799 TITLE : XL: Print Titles Do Not Appear on Every Page of Output ARTICLE-ID: Q105203 TITLE : XL: Print Selection Does Not Ignore Print Titles ARTICLE-ID: Q106251 TITLE : XL: Print Area and Print Titles Boxes Empty in Print Preview REFERENCESFor more information about the Set Print Area Button or Specifying An Area Of A Worksheet To Print, click the Search button in Help and type:
print area |
Additional query words: 7.00 5.00 5.00c howto 8.00 97
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |