D
Dave Ramage
Hi
I'm attempting to create a utility that takes a snapshot
of the current pivot table settings, records them (either
in a db or hidden excel sheet etc.), and can then re-apply
them when requested.
I've got stuck when trying to determine if a pivot field
has any grouping applied to it, and if so what are the
grouping parameters.
For example, if the user has grouped pivot
field "Repair_Date" by months and years then an additional
pivot field "Years" is created. The only property I've
found that sets these two grouped fields appart from all
the others is .TotalLevels = 2 (even .ChildItems = 0 for
both). How can I decode the grouping structure of these
two fields?
Cheers,
Dave
I'm attempting to create a utility that takes a snapshot
of the current pivot table settings, records them (either
in a db or hidden excel sheet etc.), and can then re-apply
them when requested.
I've got stuck when trying to determine if a pivot field
has any grouping applied to it, and if so what are the
grouping parameters.
For example, if the user has grouped pivot
field "Repair_Date" by months and years then an additional
pivot field "Years" is created. The only property I've
found that sets these two grouped fields appart from all
the others is .TotalLevels = 2 (even .ChildItems = 0 for
both). How can I decode the grouping structure of these
two fields?
Cheers,
Dave