Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default pivottable/pivotcache question

Hi,
Here is my problem: I have 5 reports with similar structure. All of them
have pivot tables and vba code. All the pivot tables are based on data in the
data sheet which is extracted from an Access db using vba code.
The situation is one of the report's pivot table's data has exceeded 65536+
rows. So I ended up creating an external query with no vba code to create
that pivot table. Because of this, this report is now out of whack with the
other 4 reports.

Is there any way I can add VBA code that will automatically extract data
from the table in the Access db (using external data option) in all the 5
reports and the select will fetch data based on the report name?
it would be of great help to me if somebody can point me in the right
direction or give me some sample code.

thanks
kanan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default pivottable/pivotcache question

Instead of creating the reports from the extracted data, can you base
the pivot tables on the Access data directly?

Kanan wrote:
Hi,
Here is my problem: I have 5 reports with similar structure. All of them
have pivot tables and vba code. All the pivot tables are based on data in the
data sheet which is extracted from an Access db using vba code.
The situation is one of the report's pivot table's data has exceeded 65536+
rows. So I ended up creating an external query with no vba code to create
that pivot table. Because of this, this report is now out of whack with the
other 4 reports.

Is there any way I can add VBA code that will automatically extract data
from the table in the Access db (using external data option) in all the 5
reports and the select will fetch data based on the report name?
it would be of great help to me if somebody can point me in the right
direction or give me some sample code.

thanks
kanan



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

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
PivotTable Question Jules Excel Worksheet Functions 1 July 14th 06 06:28 PM
PivotTable Question RJMAT Excel Discussion (Misc queries) 0 May 2nd 06 01:50 PM
PivotTable Question j_cavanagh Excel Discussion (Misc queries) 6 April 13th 06 10:43 PM
Question about PivotTable ak Excel Programming 0 January 3rd 06 02:52 AM
Setting CommandText property of PivotCache fails if cache has 1 PivotTable ashortxl Excel Programming 1 May 20th 05 10:27 PM


All times are GMT +1. The time now is 05:08 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"