Excel: Using LINE.PRINT to Print Multiple Lines on a PageLast reviewed: September 12, 1996Article ID: Q101260 |
The information in this article applies to:
SUMMARYNormally the LINE.PRINT() function performs a form feed operation after it has printed. As a result, only one LINE.PRINT() job prints on a page. This article explains how to use the LINE.PRINT() function to print one or more lines of text to a single page.
MORE INFORMATIONThe LINE.PRINT() macro function prints the active document using methods compatible with those of Lotus 1-2-3. NOTE: LINE.PRINT() does not use the Microsoft Windows printer drivers.
ExampleThe following macro example sends a line of text to a printed log whenever the current time is past 10:00 A.M. (it does not perform a form feed operation after the print job, and therefore prints each line on the same page):
A1: Print_Macro A2: =IF(NOW()>=TIME(10,0,0)) A3: =LINE.PRINT(5,,,,0,0,2,FALSE) A4: =LINE.PRINT(1) A5: =END.IF() A6: =RETURN()The arguments for this function are:
REFERENCES"Online Help," version 5.0 "Function Reference," version 4.0, pages 253-254
|
KBCategory: kbdocerr
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |