Hi All,
i'm attempting to automate a print-to-pdf process from within a change-order cost-estimating workbook. i've managed to work it all the way through selecting sheets based on a cell value, hiding blank rows on those sheets and generating the finished document. at issue is the process of forcing the selected sheets to print in a one-page wide width. unless i go through the workbook and set the print properties for each sheet, they wind up printing across and down and not one page wide as preferred. i've found and tried numerous "ActiveSheet.PageSetup..." procedures and none seem to simply force the one-page width without changing the page layout scale to some small unusable number. the code I have is mostly found on the web so I didn't want to post it as mine. thanks in advance...
i'm attempting to automate a print-to-pdf process from within a change-order cost-estimating workbook. i've managed to work it all the way through selecting sheets based on a cell value, hiding blank rows on those sheets and generating the finished document. at issue is the process of forcing the selected sheets to print in a one-page wide width. unless i go through the workbook and set the print properties for each sheet, they wind up printing across and down and not one page wide as preferred. i've found and tried numerous "ActiveSheet.PageSetup..." procedures and none seem to simply force the one-page width without changing the page layout scale to some small unusable number. the code I have is mostly found on the web so I didn't want to post it as mine. thanks in advance...