Pivot.sourcetable property incorrect?

M

mab042

I went to create a new pivot table in my workbook and a message came up
advising me to use the same source as my existing table. I thought I *had*
used the same source so before replying 'Yes', I thought I better check the
source of my existing pivot table. The only way I could find to do that was
VBA "msgbox activesheet.pivottables(1).sourcedata". To my surprise this
showed as "ReportData!C1:C17" which I *know* is *wrong*. It should be
something like 931 rows by 16 cols!

Can anyone throw any light on this ie

- Why would the sourcedata property not be reported correctly?
- Can I check the sourcedata property without using VBA?
- Tell me anything else that might help unravel the mystery.

I am now worried about the integrity of my original pivot table
(although it *looks* OK) and unsure whether to allow Excel to use the same
data source for my second pivot table.

Thanks in advance for any advice.

Marc
 
M

mab042

Sorry Sorry Sorry

I just realised that C1:C17 means col 1 to col col 17.
I thought it meant cell C1 to C17!

Sorry Sorry Sorry

Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top