XL: PRINT?() Macro Function Ignores From and To ArgumentsLast reviewed: February 2, 1998Article ID: Q99069 |
The information in this article applies to:
SYMPTOMSIn the versions of Microsoft Excel listed above, the PRINT?() macro function ignores the from and to arguments (the arguments that specify which pages to print). As a result, when you run a macro that contains this function, all of the pages in the worksheet will be printed. For example, if you enter the following function
=PRINT?(2,2,2,,,true)your document should only print page 2. However, all of the pages in your document will be printed. NOTE: In the Print dialog box, 2 is entered in From and To boxes; however, the All button remains checked.
WORKAROUNDTo work around this problem, use the PRINT() function instead of the PRINT?() function. This will allow you to print only the pages you specify in the from and to arguments. To print only page 2, use the PRINT() function (without the question mark):
=PRINT(2,2,2,,,true) MORE INFORMATIONThe syntax for the PRINT?() macro function is as follows:
=PRINT?(range_num,from,to,copies,draft,preview,print_what,color,feed, quality,v_quality)The range_num argument specifies which pages to print:
|
Additional query words: 3.00 4.00 4.00a XL3 XL4
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |