C
CarlosAntenna
I have a sheet with a pivot table of variable size.
I want to further summarize the data below the pivot table.
I have put the appropriate formulas on another sheet.
I recorded a macro that was intended to:
select the formulas from sheet2
copy
select sheet1
move below the maximum expected size of the pivot table
move up to the bottom of the pivot table
move down one cell
paste
The problem is with moving down one cell. The macro recorded this as:
Range("A10").Select
How can I change that line to get the desired effect.
Carlos
***Macro code follows***
Sub SumBySize()
'
' SumBySize Macro
' Macro recorded 9/3/2004 by
'
'
Sheets("Sheet2").Select
Range("A2:C9").Select
Selection.Copy
Sheets("Sheet1").Select
Application.Goto Reference:="R400C1"
Selection.End(xlUp).Select
Range("A10").Select
ActiveSheet.Paste
End Sub
I want to further summarize the data below the pivot table.
I have put the appropriate formulas on another sheet.
I recorded a macro that was intended to:
select the formulas from sheet2
copy
select sheet1
move below the maximum expected size of the pivot table
move up to the bottom of the pivot table
move down one cell
paste
The problem is with moving down one cell. The macro recorded this as:
Range("A10").Select
How can I change that line to get the desired effect.
Carlos
***Macro code follows***
Sub SumBySize()
'
' SumBySize Macro
' Macro recorded 9/3/2004 by
'
'
Sheets("Sheet2").Select
Range("A2:C9").Select
Selection.Copy
Sheets("Sheet1").Select
Application.Goto Reference:="R400C1"
Selection.End(xlUp).Select
Range("A10").Select
ActiveSheet.Paste
End Sub