View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
steveh steveh is offline
external usenet poster
 
Posts: 13
Default Can't set CommandText if pivot table copied

I have a pivot table on sheet1 that I can change the query parameters
using the PivotCache.CommandText property. But if I copy that pivot
table onto a new worksheet, or copy the entire worksheet, I can no
longer set the PivotCache.CommandText for either pivot tables. If I
delete the copied worksheet, I can set the CommandText again on the
original pivot table.

Does anyone have any solutions?

Thanks for looking.