Pivot SourceData Path does not display full range....Please help:

pedie

Well-known Member
Joined
Apr 28, 2010
Messages
3,875
Hi, 'm trying to show Pivot SourceData Path however does not display full path & range....i think it is because the file path and workbook range is too long to be displayed...it show incomplete right side of the path and workbook range...
So please advice.

Thanks for helping
Code:
[/FONT]
[FONT=Courier New]MsgBox ActiveSheet.PivotTables("PivotTable1").SourceData
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
I would hit Control-C instead of OK to pause execution, then in the immediate window:

Code:
?ActiveSheet.PivotTables("PivotTable1").SourceData
Do you get all the address this way? How long is it actually?
 
Upvote 0
I would hit Control-C instead of OK to pause execution, then in the immediate window:
Code:
?ActiveSheet.PivotTables("PivotTable1").SourceData
Code:
Do you get all the address this way? How long is it actually?

Hi Xen, thanks for walking in here....:)
When i tried that way in immidiate window...it show
'[RAW DATA.xls]PIVOT'!R1C1:R257C10
without the full file path...


I also tried this way : ?ActiveSheet.PivotTables("PivotTable1").PivotCache.SourceData
and same result....
Thanks again for helping...

 
Upvote 0
Not sure. It appears from what you've posted the source data does not show the file path. I would investigate other properties of the pivot cache. There may be a connection property for it so try (I'm not really sure though):

MsgBox ActiveSheet.PivotTables("PivotTable1").PivotCache.Connection
 
Upvote 0
Not sure. It appears from what you've posted the source data does not show the file path. I would investigate other properties of the pivot cache. There may be a connection property for it so try (I'm not really sure though):

MsgBox ActiveSheet.PivotTables("PivotTable1").PivotCache.Connection


Xen, thats okay. Thanks again for helping out!:)
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top