It looks like you're new here. Sign in or register to get started.
fctOrientationLandscape(pblnLandscape : Boolean) //fctOrientationLandscape // PARAMETERS: // pblnLandscape // RETURN-VALUE: none // EXAMPLE: fctOrientationLandscape(TRUE); IF pblnLandscape THEN autExcelWorksheet.PageSetup.Orientation(2) ELSE autExcelWorksheet.PageSetup.Orientation(1);
Comments
xlSheet.PageSetup.Orientation := 2; //Landscape
where autExcelWorksheet is an Automation variable with Subtype: 'Microsoft Excel 9.0 Object Library'.Worksheet
MaikelJ