ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how to embed print instruction portrait landscape in excel (https://www.excelbanter.com/excel-discussion-misc-queries/260520-how-embed-print-instruction-portrait-landscape-excel.html)

smhusain

how to embed print instruction portrait landscape in excel
 
Is there a way to embed Portrait and landscape instructions in an excel
spreadsheet so that a single print instruction will print a speadsheet in
accordance with such instructions.

Gary''s Student

how to embed print instruction portrait landscape in excel
 
Easy.

You need to create a BeforePrint workbook event macro. The macro would
contain all the print setup commands.
--
Gary''s Student - gsnu201001


"smhusain" wrote:

Is there a way to embed Portrait and landscape instructions in an excel
spreadsheet so that a single print instruction will print a speadsheet in
accordance with such instructions.


Dave Peterson

how to embed print instruction portrait landscape in excel
 
I'd record a macro when I did it the way I wanted.

Then I'd rerun that macro whenever I needed this functionality.

In fact, if it were a common requirement, I'd plop a button from the Forms
toolbar (not the control toolbox toolbar) and assign this macro to that button.

smhusain wrote:

Is there a way to embed Portrait and landscape instructions in an excel
spreadsheet so that a single print instruction will print a speadsheet in
accordance with such instructions.


--

Dave Peterson


All times are GMT +1. The time now is 09:11 AM.

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