Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have written a very large macro, that pulls data from access via sql
statements -- copies and pastes data to new workbook then creates and refreshes a pivot table in the new workbook. The pasted data is appox. 26 col by 500 rows. When I try and refresh the pivot table, i get the continue without undo prompt followed by the out of memory msg. I noticed that the file size of the new workbook is 15mb and have no idea why it is this large. Any ideas? can I clear the memory before the refresh? Thanks in advance. Dmoney |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You may be experiencing a memory leak.
http://www.google.com/search?hl=en&n...i=&safe=images Cliff Edwards |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to fix this? Clear the cache before restarting or something?
I haven't been able to find anything via Google. Thanks. "ward376" wrote: You may be experiencing a memory leak. http://www.google.com/search?hl=en&n...i=&safe=images Cliff Edwards |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Do you have the file you're querying open when this happens?
Cliff Edwards |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I open an existing workbook paste some data in it and attempt to refresh 3
pivot tables. The first and second pivot tables refresh ok and on the third refresh command, Excel runs out of memory. I have tried saving changes opening and closing befor refresh programatically to no avail. If i close excel out and manually open only the file that i want to refresh and refresh it manually, it works fine. I agree it must be a memory leak -- just have not been able to figure out how to plug it. --- do u know how to refresh the pivots without opening the file?? "ward376" wrote: Do you have the file you're querying open when this happens? Cliff Edwards |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Make sure the file that is the source of your data is closed during
the refresh. If that doesn't help, post your code. Cliff Edwards |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Memory errors | Excel Discussion (Misc queries) | |||
Useful Comment Concerning Memory Read/Write Errors | Excel Programming | |||
sumproduct causing memory errors? | Excel Worksheet Functions | |||
large sumproducts causing memory errors | Excel Discussion (Misc queries) | |||
xls file size / memory errors | Excel Programming |