I would like to:
Double click anywhere within a data range.
Automatically find the used data range for the pivot.
Always on a separate sheet, renaming the pivot sheet to the source sheet + pivot. EG: Bal pivot.
Code: Select all
ActiveSheet.PivotTables("PivotTable1").AddFields RowFields:="Nominal", _
ColumnFields:="Company"
With ActiveSheet.PivotTables("PivotTable1").PivotFields( _
"Net")
.Orientation = xlDataField
.NumberFormat = "#,##0.00"
End With
May I ask for some assistance in setting up the basic concept? Many Thanks