sphinxy09 has asked for the wisdom of the Perl Monks concerning the following question:
but that doesn't work; may you please let me know what I'm doing wrong and how it may be fixed? And I don't even know where to start for printing; I have Adobe Professional and would like to print my worksheet as a PDF, so in addition to selecting my printer how would I state what I want the "hardcopy" to be named? I would really like to use Win32::OLE rather than Spreadsheet::WriteExcel, and any help that you can provide will be greatly appreciated. Thank you!use Win32::OLE; my $application = Win32::OLE -> new "Excel.Application"; my $workbook = $application -> Workbooks -> Add; my $worksheet = $workbook -> Worksheets(1); $worksheet -> PageSetup -> {FitToPagesWide} = 1; $worksheet -> PageSetup -> {FitToPagesTall} = 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::OLE, Excel, & page scaling and printing
by Anonymous Monk on Jan 19, 2010 at 01:14 UTC | |
by Anonymous Monk on Jan 19, 2010 at 04:03 UTC | |
|
Re: Win32::OLE, Excel, & page scaling and printing
by Sinistral (Monsignor) on Jan 19, 2010 at 14:09 UTC | |
by sphinxy09 (Initiate) on Jan 20, 2010 at 14:22 UTC | |
by Sinistral (Monsignor) on Jan 21, 2010 at 01:03 UTC |