J
Jens Meier
Hello NG,
i got an Excel 07 pivot table with the dimensions Region, Country, City
I now want to get the "parents" of a double-clicked item. Example
Europe
UK
London
If a users double-klicks on "London" i need to somehow get the "UK" and
"Europe" value via VBA.
I catched the OnDoubleClick event of the worksheet and set cancel=true to
avoid drilling down that normally would occur when double-clicking an item
in a pivot, which works fine. I tried to adress the "parents" via
ParentItem, but id did not succeed. Can anyone help?
Regards,
Jens
i got an Excel 07 pivot table with the dimensions Region, Country, City
I now want to get the "parents" of a double-clicked item. Example
Europe
UK
London
If a users double-klicks on "London" i need to somehow get the "UK" and
"Europe" value via VBA.
I catched the OnDoubleClick event of the worksheet and set cancel=true to
avoid drilling down that normally would occur when double-clicking an item
in a pivot, which works fine. I tried to adress the "parents" via
ParentItem, but id did not succeed. Can anyone help?
Regards,
Jens