Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 13722
  • Last Modified:

Excel 2013 "Can't complete this task with Available resources"

Hi,
Have got the following issue that I'm hoping someone can help with.

Current Setup
- User is using Windows XP laptop with 4GB RAM
- Has Office 2010 installed
- Runs a complicated Excel file that has a connection to an SQL Database and Pivot Tables
- When she refreshes data in it, it takes a long time (several minutes) but it eventually refreshes with no issues.

New Setup
- We are rolling out a new laptop with Windows 8.1 and Office 2013 (8GB RAM).
- When we attempt the same refresh of data in this file using Excel 2013 it fails with the error "Excel cannot complete this task with available resources.  Choose less data or close other applications.  Continue without Undo?".
- We can click "Ok" to this message but the worksheet doesn't refresh properly.

TESTING
- Have tried this file on three different computers running Windows 8.1 and Excel 2013 and they all fail with the same error (2 machines with 8GB RAM, one with 4GB).
- Have monitored memory during this on the 4GB RAM machine and it still had 1GB of available memory left when it failed.
- Have notice when it fails, that the info bar along the bottom of Excel always says: "Calculating Pivottable Report".  So possibly something to do with this?

- On 8GB machine that was failing, I uninstalled Office 2013 and installed 2010.  The file then updates fine with no issues.


So I believe this is an Excel 2013 issue.  Does anyone have any ideas on where I can start looking?  If anything I would imagine that the 2013 version should cope better with more data than the 2010 version?  Is there some limitation that needs to be removed for PivotTables maybe?

Thanks.
0
iknowsfa
Asked:
iknowsfa
  • 4
  • 3
1 Solution
 
SreeramCommented:
Hi

This error occur when the Excel and windows is out of sync.

Solution:

Insert DoEvents in the code. were you feel code take more time to execute


Doevents  will make excel to wait till it sync with windows


Sample code:

   DoEvents
          ' Your code goes here

 DoEvents
0
 
iknowsfaAuthor Commented:
Hi,
I'm unsure where I would find this code to insert the statement you refer to.  there are no Macros in the file, it just seems to use Pivot Tables, and I'm not familiar with them.
Can you be more specific about how and where to put it?

Also seems a bit strange that Excel 2013 would "go out of sync" with Windows when Excel 2010 can run the file fine with no issues?  Or is this something you've seen before with this edition of Excel?

Thanks
0
 
SreeramCommented:
Hi

    Try this once .

Make zoom level of all the sheet in the workbook  as equal and check are you facing the same problem.

let me know the status of the solution so that i can give you an exact explaination for the problem.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
iknowsfaAuthor Commented:
Hi,
There is only one sheet in the file.  To test I changed to zoom level from 75% to 100% and then tried clicking the DATA > REFRESH ALL button again.  But unfortunately am still getting the same error message.
Will keep trying some other stuff to see if I can get it to work.  If you have any more suggestions they would be greatly appreciated.

Thanks.
0
 
SreeramCommented:
Hi,

    I too had the same problem. I was populating a dropdown from different tab sheet. when the zoom level is different in both the sheet  I faced this problem.

thanks
0
 
iknowsfaAuthor Commented:
Ok, I've managed to solve this myself.  Was a simple thing which I can't believe I hadn't checked earler.  The file was still saved as an old version .XLS file.  I converted to the new file format .XLSM, and it now runs fine with no errors.
0
 
iknowsfaAuthor Commented:
Other suggestions didn't solve the issue.  But after my own testing managed to find the answer.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now