ThrottleWorks
Excel Ninja
Hi,
Is it possible to derive sheet name of the pivot table it is linked to.
For example, I have pivot table in Sheet2, pivot range data is in Shee1 of the same file.
If I have to check which sheet is linked to this pivot I will do manually ‘Options -> Change Data Source -> Change Data Source’.
I will copy path populated in browsing window and paste in an excel cell to get the sheet name.
In above mentioned example Pivot path is ‘Sheet1!$A$1:$B$6’. How do I achieve this in VBA. Can anyone please help me in this.
Hope, sample file is not required for this issue. Please let me know if you want sample file. I will try to upload.
Is it possible to derive sheet name of the pivot table it is linked to.
For example, I have pivot table in Sheet2, pivot range data is in Shee1 of the same file.
If I have to check which sheet is linked to this pivot I will do manually ‘Options -> Change Data Source -> Change Data Source’.
I will copy path populated in browsing window and paste in an excel cell to get the sheet name.
In above mentioned example Pivot path is ‘Sheet1!$A$1:$B$6’. How do I achieve this in VBA. Can anyone please help me in this.
Hope, sample file is not required for this issue. Please let me know if you want sample file. I will try to upload.