Hello All,
I have a Pivot table that updates every week, but I also have two columns connected to the pivot but if a new row is created as a result of the pivot update, I want a row created to calculate the value.
here is what I have so far, all it does it drags the total values and then drags the formula above the total formula down one;
Range("G22:H22").Select
Selection.Cut Destination:=Range("G23:H23")
Range("G21:H21").Select
Selection.AutoFill Destination:=Range("G21:H22"), Type:=xlFillDefault
Range("G21:H22").Select
End Sub
So when the pivot is updated, If a new value (week ending) date is created then follow the above.
Thanks for your help,
________
LIVE SEX
I have a Pivot table that updates every week, but I also have two columns connected to the pivot but if a new row is created as a result of the pivot update, I want a row created to calculate the value.
here is what I have so far, all it does it drags the total values and then drags the formula above the total formula down one;
Range("G22:H22").Select
Selection.Cut Destination:=Range("G23:H23")
Range("G21:H21").Select
Selection.AutoFill Destination:=Range("G21:H22"), Type:=xlFillDefault
Range("G21:H22").Select
End Sub
So when the pivot is updated, If a new value (week ending) date is created then follow the above.
Thanks for your help,
________
LIVE SEX
Last edited: