+ Reply to Thread
Results 1 to 9 of 9

Excel running slow even with all content deleted

  1. #1
    Registered User
    Join Date
    04-10-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Excel running slow even with all content deleted

    I believe there is something else in the file that is slowing it down or hidden but I can't find it. I tried:
    -copying just the pertinent information into a new workbook
    -clearing all formats
    -clearing all content
    -there are no macros or code

    none of this has worked. The file is 62 MB and literally looks like a blank excel sheet. Any suggestions at this point are welcome. Thanks!

  2. #2
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Excel running slow even with all content deleted

    Hi,

    Welcome to the forum

    I believe you may be dealing with an inflated workbook based on the last used cell scenario.

    When you import large volumes of data into your file, even if you delete the content, the cell Excel stores as the last used cell continues to bloat the workbook.
    You can manually reset the last used cell by selecting ALL rows and ALL columns to the right and below your existing data and deleting them, then resaving your workbook which will compact it, or you can run the macro as below to do it automatically.

    Please Login or Register  to view this content.
    Regards,
    Rudi

  3. #3
    Registered User
    Join Date
    04-10-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Excel running slow even with all content deleted

    So I had already tried the whole last cell fix. I have finally been able to shrink it enough to upload. As you can see there is nothing there but the file size is still 670+ KB when nothing is there.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-10-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Excel running slow even with all content deleted

    sorry double posted, thought the first one didn't go through
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Excel running slow even with all content deleted

    There are a lot of objects you don't see in the file
    Remove them by
    F5
    specials
    objects
    OK

    Alle objects (Row 5:6 Column O:P) are selected
    Delete them
    Last edited by popipipo; 04-10-2014 at 05:21 PM.
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Excel running slow even with all content deleted

    @ Rudi how gaan dit daar in die Kaap? SA ex-pat here from PE and Klerksdorp (among other places)
    You dont need to go that the extrame of deleting everything, all you need to do is use end-home to go to the furthest limit of the WB.
    You would then delete all rows/columns between that point to the last row/column of your actual data. Once that is done, save the file, close it and re-open, excel will now use the last set of data for the end-home mark
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Excel running slow even with all content deleted

    Hi Ford,

    Dit gaan goed hier in die Kaap, dankie!
    The macro above "evolved" the more I used it. I admit that it looks a bit bloated but it works well for a number of reasons. Without going into much detail, I found that my earlier versions seemed to delete charts and shapes that were on the right or below the data. As I deleted those rows/columns it seemed to delete charts and shapes that were connected to those rows/columns.
    Another issue I found was that in certain cases, just deleting rows/col did not clear formatting across the row or down the col. So cells never reset after deleting and saving; hence the clearformats entries.
    Anyways...I find this one caters for many of these potential scenarios, so I've kept it as is and it works well.

    Nice to meet you...
    Stay well.
    Cheers

  8. #8
    Registered User
    Join Date
    04-10-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Excel running slow even with all content deleted

    So I treid F5, specials, objects, OK and once hit ok excel just locks up

  9. #9
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Excel running slow even with all content deleted

    You must just give it time...Excel us not freezing up, just doing it's best to process all those textboxes.
    I hung around a bit and used F5 to select the objects, added colour to them, sized one larger to confirm it's a text box and then deleted them all. (Took about 10 minutes to do all that!)
    After I selected them all (using F5) and deleted the textboxes, the file was 30KB's and nice and fast and responsive again.

    See images...
    Attached Images Attached Images
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    04-10-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Excel running slow even with all content deleted

    I just had to wait awhile since excel was running so slow, but F5, specials, objects, OK worked!!!!! thank you so much

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro is running real slow and makes navigating the worksheet really slow after execution.
    By MichWolverines in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2013, 04:29 PM
  2. Excel running slow?
    By penfold1992 in forum Excel General
    Replies: 3
    Last Post: 09-05-2012, 10:05 AM
  3. Excel running slow with many images.
    By excelDWS in forum Excel General
    Replies: 3
    Last Post: 08-03-2010, 11:43 AM
  4. [SOLVED] excel running slow when saving
    By Andrew in forum Excel General
    Replies: 1
    Last Post: 10-11-2005, 08:42 AM
  5. [SOLVED] excel macros running slow with XP
    By Helen@bgs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2005, 10:06 AM

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