The information in this article applies to:
SUMMARYThe Microsoft Excel Macro Translation Assistant may not correctly translate some third-party macros that print to a file. When this incorrect translation occurs, you will receive the following error message:
WorkaroundTo use the translated macro to print to a file, edit it so that it includes the Microsoft Excel macro functions PRINTER.SETUP(), SEND.KEYS(), and PRINT(), as in the following macro example:
where "HP LaserJet III on FILE:" is the printer name EXACTLY as it
appears in the Default Printer dialog box in the Printers section of
Windows Control Panel, and the "myfile.prn" argument in the SEND.KEYS
function is the output filename to be printed to.
MORE INFORMATIONMicrosoft Excel for Windows requires that the printer be connected to the port name as it appears in the Windows Control Panel (in the above example this port name is FILE). REFERENCES
"Online Help," version 5.0 Additional query words: HOWTO Lotus 123 1-2-3
Keywords : |
Last Reviewed: July 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |