C
cfatz1
Hi-
I have a pivot table...and the last cell in the table (bottom right
corner) is the Grand Total. This is a dynamic pivot table that
refreshes on open....so in order to preserve that cell I gave it a
name. The name for the cell is "Total_ABS". I have this code for
"Worksheet_Activate":
Range("Total_ABS").Select
ActiveCell.FormulaR1C1 = "='ADMIN&BUSSERV'!R[-1]C[1]"
The code errors on the second line of code. What I am trying to do is
go to the cell named "Total_ABS" and then make the cell 1 row above and
one column to the right the active cell. When I attempt to do this
using this code I get this error:
"Cannot enter a formula for an item or field name in a PivotTable
Report."
Any ideas on how to get by this?
TIA,
Chris
I have a pivot table...and the last cell in the table (bottom right
corner) is the Grand Total. This is a dynamic pivot table that
refreshes on open....so in order to preserve that cell I gave it a
name. The name for the cell is "Total_ABS". I have this code for
"Worksheet_Activate":
Range("Total_ABS").Select
ActiveCell.FormulaR1C1 = "='ADMIN&BUSSERV'!R[-1]C[1]"
The code errors on the second line of code. What I am trying to do is
go to the cell named "Total_ABS" and then make the cell 1 row above and
one column to the right the active cell. When I attempt to do this
using this code I get this error:
"Cannot enter a formula for an item or field name in a PivotTable
Report."
Any ideas on how to get by this?
TIA,
Chris