ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   What format are files saved in when printing to a file from Excel (https://www.excelbanter.com/excel-programming/330663-what-format-files-saved-when-printing-file-excel.html)

RonVanNost

What format are files saved in when printing to a file from Excel
 
I am printing output generated in Excel to a file using VBA code
[ActiveSheet.PrintOut Copies:=1, PrintToFile:=True, Collate:=True].

What format is the file printed in and how do you read the file?

Tom Ogilvy

What format are files saved in when printing to a file from Excel
 
It is in the language of the printer that you have selected as the default.
If a postscript printer, it will be a postscript file. This can be read
with Adobe Distiller (I believe) or any application that will accept a
postscript file (more likely found in a UNIX environment I would think).
For other printer languages, you would need to find something that can read
it although I don't think these are widely available.

If you use the generic text driver for the print driver, then it will
produce a Text file you can look at in Notepad or Wordpad with a monospaced
font.

--
Regards,
Tom Ogilvy

"RonVanNost" wrote in message
...
I am printing output generated in Excel to a file using VBA code
[ActiveSheet.PrintOut Copies:=1, PrintToFile:=True, Collate:=True].

What format is the file printed in and how do you read the file?





All times are GMT +1. The time now is 03:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com