Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default XL 2007: Pivot Refresh slow when data resides in another workbook

I used to have one workbook: raw data on some worksheets and pivot tables
and charts on other sheets.

The raw data sheets were actually exported to the workbook from Access. Why
not do charts in Access? Because the charting formatting features inside
Access are very restrictive compared to Excel.

Everything was working ok, and I was able to simply export the Access
Queries to the workbook, and the export would replace the worksheet with an
updated worksheet.

Then I wanted to save the charts to image files (gif, jpg, etc...) with
decent resolution. (Saving as a webpage does the trick, but the resolution
is really bad on the resulting image files)

Unfortunately, the only way to do this with Excel 2007 is to write a VBA
script and export them to PNG. So that's what I did. This requires that you
save the workbook as a macro-enabled workbook.

Unfortunately, YOU CAN'T EXPORT FROM ACCESS 2007 TO A MACRO-ENABLED EXCEL
2007 WORKBOOK!

So I split the workbook in two: One with just worksheets of raw data as
exported from Access, and the other with the pivot charts + VBA scripts.

HOWEVER... ever since I changed the pivot charts to obtain their data from
another workbook... refreshing the data is UNBEARABLY SLOW!

About 30% of the time I try to refresh the pivot data, it renders my entire
computer useless, and I get "not responding" on just about every window I
have open (and I don't have many... just Outlook, IE, and maybe a file
explorer window).

Also, if it does end up refreshing, for a very very long time, I still get a
strange little status message at the bottom of the Excel 2007 window that
says: "Calculating: (1 Processor(s)): 0%. If I leave it as-is, it will
finally creep-up to 100%, and finish whatever it is that it's doing (I'm not
sure, because it seems that the refresh does happen). While this is going
on... Excel is hogging up about 90-99% of my CPU.

So my questions a

Why would performance degrade so badly simply because your pivot charts are
based on data in another workbook instead of the same workbook? Both are in
the same folder on my harddrive.

Why can't I export from Access to a macro-enabled workbook? (It's not an
option while I'm exporting...)


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,173
Default XL 2007: Pivot Refresh slow when data resides in another workbook

I suspect the workbook you are importing from is a xl2003 version or if not
is closed.

I always have the same advice for people moving data between Access and
Excel. Do it the other way around! Exporting from Access of any version
seems to be much slower then importing into Excel

You can, in 2007 (and other versions) insert a pivot table/chart and select
the external data directly from here. That should speed it up with no double
hops

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
web:
www.nickhodge.co.uk
blog (non-tech): www.nickhodge.co.uk/blog/

"funnybroad" wrote in message
...
I used to have one workbook: raw data on some worksheets and pivot tables
and charts on other sheets.

The raw data sheets were actually exported to the workbook from Access.
Why
not do charts in Access? Because the charting formatting features inside
Access are very restrictive compared to Excel.

Everything was working ok, and I was able to simply export the Access
Queries to the workbook, and the export would replace the worksheet with
an
updated worksheet.

Then I wanted to save the charts to image files (gif, jpg, etc...) with
decent resolution. (Saving as a webpage does the trick, but the
resolution
is really bad on the resulting image files)

Unfortunately, the only way to do this with Excel 2007 is to write a VBA
script and export them to PNG. So that's what I did. This requires that
you
save the workbook as a macro-enabled workbook.

Unfortunately, YOU CAN'T EXPORT FROM ACCESS 2007 TO A MACRO-ENABLED EXCEL
2007 WORKBOOK!

So I split the workbook in two: One with just worksheets of raw data as
exported from Access, and the other with the pivot charts + VBA scripts.

HOWEVER... ever since I changed the pivot charts to obtain their data from
another workbook... refreshing the data is UNBEARABLY SLOW!

About 30% of the time I try to refresh the pivot data, it renders my
entire
computer useless, and I get "not responding" on just about every window I
have open (and I don't have many... just Outlook, IE, and maybe a file
explorer window).

Also, if it does end up refreshing, for a very very long time, I still get
a
strange little status message at the bottom of the Excel 2007 window that
says: "Calculating: (1 Processor(s)): 0%. If I leave it as-is, it will
finally creep-up to 100%, and finish whatever it is that it's doing (I'm
not
sure, because it seems that the refresh does happen). While this is going
on... Excel is hogging up about 90-99% of my CPU.

So my questions a

Why would performance degrade so badly simply because your pivot charts
are
based on data in another workbook instead of the same workbook? Both are
in
the same folder on my harddrive.

Why can't I export from Access to a macro-enabled workbook? (It's not an
option while I'm exporting...)



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
EXCEL 2007 VERY SLOW WITH LARGE DATA CHARTS Norm Excel Discussion (Misc queries) 19 March 16th 10 09:25 AM
Excel 2007 Refresh Pivot Table kojaks43 Excel Discussion (Misc queries) 0 April 24th 07 06:20 AM
Add a button to refresh a pivot in another tab of the same workbook DMithias Excel Discussion (Misc queries) 2 February 10th 06 05:31 AM
External Data Refresh is extermely slow after upgrading to 2003 Simon Excel Discussion (Misc queries) 0 September 28th 05 03:02 PM
Refresh all pivot tables in a workbook nc Excel Discussion (Misc queries) 3 June 22nd 05 07:37 PM


All times are GMT +1. The time now is 04:32 AM.

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"