PivotTable := XlWorkSheet.PivotTables(PivotName); PivotField := PivotTable.PivotFields('Должность'); PivotField.Orientation := 1;