XL: How to Print all Documents in a WorkbookLast reviewed: February 2, 1998Article ID: Q89753 |
The information in this article applies to:
SUMMARYIn version 4.0 of Microsoft Excel, you can print all bound and unbound documents in a workbook in Group Edit mode or with a macro. Note that this a built-in feature in Microsoft Excel version 5.0.
MORE INFORMATIONWorkbooks in Microsoft Excel provide a convenient way to organize documents. The following information covers a couple of methods for printing all the documents in a workbook.
Printing Workbook Documents in Group Edit ModeNOTE: Using this method you can specify which documents you want printed and even include documents that are not contained in your workbook. To print workbook documents in Group Edit mode, follow these steps:
Printing Workbook Documents with a MacroThe following macro is an example of one way to automate the printing of all documents in a workbook. To print all documents in a workbook with this macro, you must first open the Workbook Contents window and then run the macro.
A1: PrintDocs B1: Comments A2: =GET.DOCUMENT(1) B2: Get workbook name A3: =ERROR(FALSE) B3: A4: =ACTIVATE.NEXT(A2) B4: Get first document A5: =WHILE(NOT(GET.DOCUMENT(1)=A2)) B5: Repeat until Contents window A6: = PRINT() B6: Print the document A7: = ACTIVATE.NEXT(A2) B7: Activate next document A8: =NEXT() A9: =RETURN() REFERENCES"Microsoft Excel User's Guide 1," version 4.0, pages 69, 383-389
|
Additional query words: 4.0 4.00 entire kbhowto
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |