LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jag Jag is offline
external usenet poster
 
Posts: 16
Default Updating Pivot Tables Dynamically

I'm currently looking to implement a solution to automate the process of
updating 5 pivot tables (one after another) on the same worksheet in an Excel
workbook.

Within the workbook there is a worksheet which is used as the data source
for the pivot tables.

If the number of items in the data source does not change the pivot table
updates without any problems. However if the number of items in the data
source increases the pivot tables start overlapping which causes errors. My
guess here is that you cant place pivot tables in a worksheet and have them
adjust their size dynamically.

One solution I've have tried to move the pivot table into separate work
sheets in the workbook. Then using C# and the Excel library, open the
workbook, update the pivot tables and then move them into a single page.
However this approach does not work because an error occurs when moving the
second pivot table and them overlapping. In addition using C# and the Excel
library is very error prone because the errors arent very descriptive and
Excel does not always close correctly.

Do you know of another way how we can resolve this issue? Ideally the Excel
workbook should not contain any macros, hence the reason why C# was used to
generate the spreadsheet.
 
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
(repost) Dynamically creating pivot tables from page-field list klysell Excel Programming 9 July 10th 07 06:32 PM
Creating Pivot tables dynamically from page filter values summary klysell Excel Programming 0 July 9th 07 09:16 PM
Dynamically changing print areas for Pivot Tables Todd1 Excel Discussion (Misc queries) 1 August 17th 06 02:55 AM
Dynamically changing several pivot tables at once Jason Excel Discussion (Misc queries) 3 December 16th 05 03:50 PM
Adding Pivot Tables Dynamically DavidW Excel Programming 0 May 4th 04 09:16 AM


All times are GMT +1. The time now is 11:10 PM.

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

About Us

"It's about Microsoft Excel"