how to embed print instruction portrait landscape in excel

S

smhusain

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.
 
G

Gary''s Student

Easy.

You need to create a BeforePrint workbook event macro. The macro would
contain all the print setup commands.
 
D

Dave Peterson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top