Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
lc lc is offline
external usenet poster
 
Posts: 13
Default Pivots using other pivots and dynamic query problem

Hi,

I have one PivotTable that gets refreshed by macro using cell values. New
query (from sql server) is loaded into PivotCache.CommandText. This works
just fine.

Since the query can be quite lengthy (wouldn't want to fire it twice to
present 2 views), I created another PivotTable that uses the former one as a
source. Well. now assigning PivotCache.CommandText no longer works with 1004
error.

Does anyone have any idea what might be the problem? (Using 2003)

TIA

lc


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivots and Functions JuniorPivot via OfficeKB.com Excel Worksheet Functions 3 March 2nd 08 08:54 PM
several pivots officegirl Excel Discussion (Misc queries) 0 December 11th 07 07:04 PM
Formats and Pivots Don Excel Discussion (Misc queries) 2 April 27th 07 04:30 PM
Automatic pivots Hru48 Excel Discussion (Misc queries) 0 July 4th 06 11:59 AM
Quickie on Pivots Soapydux Excel Discussion (Misc queries) 4 November 24th 05 12:08 AM


All times are GMT +1. The time now is 09:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"