Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a pivot table with three fields located in the "page" area. When I open the workbook and select the worksheet with the pivottable, all three fields default to "(All)". I'd like to write some code that after updating the pivottable, also selects one of the specific options behind one of the fields so the reader doesn't have to each time. I know how to refresh the pivot programmatically. I tried recording the actions of selecting a value from one of these fields and using this code in my macro but it gives an error. Below is the recorded macro code. ActiveSheet.PivotTables("PivotTable1").PivotFields ("COPQ Ind").CurrentPage = "1" Thanks much, Reney Langlois |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cannot Group that Selection error in PivotTable | Excel Discussion (Misc queries) | |||
Using a field name in an IF function for a calculated field in a PivotTable | Excel Worksheet Functions | |||
PivotTable - PivotTable Field name is not valid - error! | Excel Programming | |||
PivotTable selection | Excel Programming | |||
PivotTable selection | Excel Programming |