|Subject:||Pivot Macro - select absolute value|
|Date:||Tue, 16 May 2006|
I'm new to macros, but not excel.
I have a pivottable, and want to write a macro to select specific, absolute
names of people. I record the macro, and this is what it gives me:
I want it to select a person's name instead, but the code is off, but I'm
close...yet so far. Example like this may help....
With ActiveSheet.PivotTables("PivotTable20").PivotFields("LO Name (f451)2")
.PivotItems("SMITH, JAMIE").Visible = False
.PivotItems("BENJAMIN, CHERYL").Visible = False
.PivotItems("TONIS, KEN").Visible = False
In the active pivottable, I want to select these three names and group them.