Thanks for the help....there is another way also
oWs = oExcelApp.ActiveSheet
oWs.PageSetup.Orientation = Excel.XlPageOrientation.xlPortrait
This will work as well![]()
|
Results 1 to 4 of 4
Thread: Using Excel in VB .NETThreaded View
|
Click Here to Expand Forum to Full Width |