+ Reply to Thread
Results 1 to 5 of 5

"Excel cannot complete this task with available resources"

  1. #1
    Registered User
    Join Date
    01-03-2012
    Location
    Italy
    MS-Off Ver
    Excel 2007
    Posts
    2

    "Excel cannot complete this task with available resources"

    Hello all,

    I know this error ocurred to some of you and I've been reading about it. Still I'm not able to solve my problem. I'm using a macro that worked perfectly until now but, from today, I get this error. When I do the debug it looks like the error is here:


    error excel.JPG

    Then, if i go back to the first line of the image, and do it manually, it works perfectly.


    Any idea why this is happening?

    Thank you!
    Last edited by JotaPinto; 01-03-2012 at 10:24 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: "Excel cannot complete this task with available resources"

    in your code replace from the line Columns("L:S").Select to the end with the below line

    Please Login or Register  to view this content.
    Last edited by Kelshaer; 01-03-2012 at 09:37 AM.
    Regards,
    Khaled Elshaer
    www.BIMcentre.com

    Remember To Do the Following....
    1. Thank those who have helped you by clicking the Star below their post.
    2. Mark your post SOLVED if it has been answered satisfactorily:
    • Select Thread Tools (on top of your 1st post)
    • Select Mark this thread as Solved

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,336

    Re: "Excel cannot complete this task with available resources"

    Hi JotaPinto and welcome to the forum.

    This sounds like you need more memory in your machine.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: "Excel cannot complete this task with available resources"

    Always avoind using the select, copy and paste in you code to save the memory.

    in your code replace from the line Columns("L:S").Select to the end with the below line


    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-03-2012
    Location
    Italy
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: "Excel cannot complete this task with available resources"

    Thanks guys, it seems to be working. I'll consider it as solved


    Cheers,
    j

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1