Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Pivottable getpivotdata problem


have a pivottable in one workbook. In another one i use GETPIVOTDATA and use
update to get the data. The problem is that it only works when i have the
workbook with the pivottable open else there is zero i all cells? Why?

Is it possible also automatically update the data without using update?


Please help me!!!--
Kind regards Michael
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Pivottable getpivotdata problem

It appears that GETPIVOTDATA only works when the workbook with the pivottable
is open. A number of other functions, such as SUMIF, require the source
workbook to be open.

Here is a workaround: Put the GETPIVOTDATA formulas in another sheet in
workbook with the pivottable. Then link to those cells from the other
workbook. I prefer to name each cell I am going to link to from another
workbook; this ensures that the links work if the linked cells are moved in
the source workbook, and the range names help to identify what each link is
for.

Hope this helps,

Hutch

"Mikmac" wrote:


have a pivottable in one workbook. In another one i use GETPIVOTDATA and use
update to get the data. The problem is that it only works when i have the
workbook with the pivottable open else there is zero i all cells? Why?

Is it possible also automatically update the data without using update?


Please help me!!!--
Kind regards Michael

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default Pivottable getpivotdata problem

Regarding the last question in your post: you can avoid the Update dialog
when you open your workbook, and have the links updated automatically at that
time, by selecting Tools Options Edit tab uncheck the "Ask to update
automatic links" checkbox OK. These directions are based on Excel 2003. I
don't have 2007 available at the moment, but the setting is probably found
under Office button Excel options.

Hope this helps,

Hutch

"Mikmac" wrote:


have a pivottable in one workbook. In another one i use GETPIVOTDATA and use
update to get the data. The problem is that it only works when i have the
workbook with the pivottable open else there is zero i all cells? Why?

Is it possible also automatically update the data without using update?


Please help me!!!--
Kind regards Michael

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
Getpivotdata problem Al Excel Discussion (Misc queries) 2 December 10th 08 02:57 PM
GETPIVOTDATA problem Laurence Lombard Excel Discussion (Misc queries) 4 January 11th 08 03:11 PM
Problem with getpivotdata function conniemm Excel Discussion (Misc queries) 1 September 18th 07 05:32 AM
GETPIVOTDATA Excel 2003 Problem Randall Excel Discussion (Misc queries) 7 August 27th 06 04:07 PM
getpivotdata refresh problem Derrick Excel Worksheet Functions 0 August 9th 06 07:19 PM


All times are GMT +1. The time now is 07:59 PM.

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"