$worksheet -> PageSetup -> {Orientation} = 2;