There has to be an easier way, using Range("G9:G13") rather than individual cells...but I can't get it.
Code:
Range("G9").Select
For i = 0 To 13
With ActiveCell
.Offset(0, i) = PivotTable.GetPivotData("Sum of OT Hours", "Pay Period", .Offset(-6, i), "Office", Range("A9")) / PivotTable.GetPivotData("Sum of Total Hours", "Pay Period", .Offset(-6, i), "Office", Range("A9"))
.Offset(1, i) = PivotTable.GetPivotData("Sum of OT Hours", "Pay Period", .Offset(-6, i), "Office", Range("A10")) / PivotTable.GetPivotData("Sum of Total Hours", "Pay Period", .Offset(-6, i), "Office", Range("A10"))
.Offset(2, i) = PivotTable.GetPivotData("Sum of OT Hours", "Pay Period", .Offset(-6, i), "Office", Range("A11")) / PivotTable.GetPivotData("Sum of Total Hours", "Pay Period", .Offset(-6, i), "Office", Range("A11"))
.Offset(3, i) = PivotTable.GetPivotData("Sum of OT Hours", "Pay Period", .Offset(-6, i), "Office", Range("A12")) / PivotTable.GetPivotData("Sum of Total Hours", "Pay Period", .Offset(-6, i), "Office", Range("A12"))
.Offset(4, i) = PivotTable.GetPivotData("Sum of OT Hours", "Pay Period", .Offset(-6, i), "Office", Range("A13")) / PivotTable.GetPivotData("Sum of Total Hours", "Pay Period", .Offset(-6, i), "Office", Range("A13"))
End With
Next i