Sign in to follow this  
Followers 0
darzanmihai

Set excel landscape orientation

2 posts in this topic

How could I set the orientation of a excel sheet to landscape?

Thx in advance for the reply.

Mihai


I do not like stupid and idiot people that write idiot things...If you are one, do not write.

Share this post


Link to post
Share on other sites



Hi,

#include <excel.au3>

$oExcel = _ExcelBookNew ()
$oExcel.ActiveSheet.PageSetup.Orientation = 2

;-))

Stefan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0