Thanks! We'll email you
when relevant content is
added and updated.
Can anyone help identify how to set the Page Layout Orientation of an XLSX file in VBS? I am using the below script example for reference.
Set obj = CreateObject("Excel.Application") Set objWorkbook = obj.Workbooks.Open("C:pathtest.xlsx") obj.ActiveSheet.PageSetup.Orientation = xlLandscape obj.ActiveWorkbook.Saveas "C:pathtest.xlsx" obj.ActiveWorkbook.Close