+ Reply to Thread
Results 1 to 24 of 24

Excel Freezes

  1. #1
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Excel Freezes

    Help please....

    I have created a work schedule, and everytime we try to make changes and enter shifts the program freezes. It is making it immpossible to use the spreadsheet.

    Any Idea how to prevent this?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Excel Freezes

    Any OnChange Event Code is there in your workbook?

    If possible can you please share the file or screenshot for better understanding?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Excel Freezes

    screen shot.jpg

    here is a screen shot of the file. the only error I get is "excel has stopped responding"

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Excel Freezes

    Seems to be a nice design to see but unable to fix anything from the provided screenshot.

    If possible can you please share a workbook?

    Please attach a sample workbook with enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).

  5. #5
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Excel Freezes

    Here is a sample of the schedule. I had to take alot off to make the file small enough to be link to the post.

    The actual file is about 6MB in size, and has the schedule for this year and next set up. The only actions we are doing is to move the shifts into the schedule area.

    The areas that are showing #REF! are where the calcuations we use are. We calculate how many hours each employee is working and subtract those hours for a running total. (union rule employees cannot work more than a certian number of hours per year.)
    Attached Files Attached Files

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Excel Freezes

    Nothing seems to be wrong in your file and I suspect that the calculation of the formula's are taking more time.

    May be in your original file you may be having more sheets with many formula's. At the same time your file is xlsx file only so there will not be any macros.

    I suggest you to put the calculation mode to Manual and Press F9 whenever you need to calculate the workbook. At the same time save the file in .xlsb format which will reduce the file size considerably and work faster too..

  7. #7
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Excel Freezes

    The file stall freezes everytime I use certain actions like ctrl-Z.

    Would it help is I seperated the sheets? I currently have 4 sheets in the workbook.

  8. #8
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Excel Freezes

    I made the sujested changes, with no changes.

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Excel Freezes

    Try my post # 6 suggestion and raise your further questions if the suggestion fails.

  10. #10
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Excel Freezes

    I made the sujested changes, with no changes in proformance of the file. if I try to undo even small changes it freezes every time. There are other times it freezes, the undo is the easiest to replicate.

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Excel Freezes

    Don't know what else I have to suggest Because the file is not having any macro codes and turning the calculation to Manual should work actually.

  12. #12
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Excel Freezes

    ok, thank you

  13. #13
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Excel Freezes

    Hi Zach,

    I had to repair my 2010 - I suggest that you repair your 2010.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

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

    Re: Excel Freezes

    I think the conditional format is the problem
    I did not count them all but ik think there are more than 1000!!
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  15. #15
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Excel Freezes

    There are, we had to do it in order to pull the data and coloring into a seperate workbook for public viewing. (to protect the original document from unautorized changes.)

  16. #16
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Excel Freezes

    Did you consider my suggestion?

  17. #17
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Excel Freezes

    yes, but we use several different computers and it is the same on all of them, it seems like if that was the issue then it would only be one computer. Is my thinking wrong?

  18. #18
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Excel Freezes

    If they're all "Not Responding" then I'd suspect that you need to repair them all - you could try one

  19. #19
    Registered User
    Join Date
    08-31-2013
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Excel Freezes

    ok, I will give it a shot

  20. #20
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Excel Freezes

    It worked for me!

  21. #21
    Forum Contributor
    Join Date
    03-21-2013
    Location
    Corvallis, OR
    MS-Off Ver
    Excel 2010
    Posts
    174

    Re: Excel Freezes

    Yeah, I would venture to say that the number of conditional formats are a serious problem in your example file. It's locking up my machine just trying to view them... Ironically, I built a schedule system for work that ended up having a similar problem. I put it together back in 2003 with that version of office, and back then, conditional formatting applied to ranges would stick to the range if any insertion or deletion or rows or columns within the range happened, but after 2010 came out, I converted the file to an .xlsm, and it slowly got worse and worse performance. I eventually figured out that this was because the number of conditional formats had grown exponentially. (The way this schedule system functioned was by inserting and deleting rows to add new schedule sections for departments, and individual lines for employees, etc.) What was happening was that the conditional format that spread across a range would get split up into 3 separate conditional formats for 3 separate ranges if you inserted a row in the middle of the original range. (A very obnoxious change...) Anyway, I got around this by removing all conditional formats and then dynamically re-applying them with VBA every time one of these operations took place. Now the system works flawlessly. In fact, I took the time to remove all of your conditional formatting, and the workbook performs totally normally now. I used the following code:
    Please Login or Register  to view this content.
    You should try applying this to your whole workbook and see if it makes a difference to test this theory. Writing the code to re-apply conditional formatting dynamically was difficult and interesting code to write, but it definitely got the job done.
    If I helped, please click on Add Reputation.

  22. #22
    Forum Contributor
    Join Date
    03-21-2013
    Location
    Corvallis, OR
    MS-Off Ver
    Excel 2010
    Posts
    174

    Re: Excel Freezes

    Also, a potential method of addressing your concern of protecting the original workbook from users in public with access to it is to have the workbook print to a pdf file every time it saves so that the public (employees, I assume) can still view the necessary information, but then the people responsible for the integrity of the original workbook will be the only people who ever have access to it, while the information will still be made available to those who need it. (That's what I did) To avoid potential file access errors, you do have to make the file print to a pdf, then have individual files on workstations that copy that pdf to their local drive and open it from there instead of opening the original pdf file.
    Last edited by bmxfreedom; 11-11-2013 at 01:05 AM.

  23. #23
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Excel Freezes

    I reckon you'd be better off using code to apply the formatting colors to the cells instead of using all those cf formulas
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  24. #24
    Forum Contributor
    Join Date
    03-21-2013
    Location
    Corvallis, OR
    MS-Off Ver
    Excel 2010
    Posts
    174

    Re: Excel Freezes

    Quote Originally Posted by JosephP View Post
    I reckon you'd be better off using code to apply the formatting colors to the cells instead of using all those cf formulas
    In may case, using code to apply conditional formatting was necessary because the conditional formatting was formula based and was set up so that no matter what (using if(or(cell="",cell<>""),true,false) ) the cell or range would be formatted a particular way, including non-locked cells. The people responsible for writing the schedule are not so familiar with excel, and they did need to be able to format some central groups of cells by adding color to the background or text, which meant that sheet protection had to enable this. There is no way to enable color changes for parts of a sheet via protection, other than setting a cell as unlocked, so this way the formatting integrity of the workbook's layout could be preserved no matter how uneducated the user was and they could still make the changes they needed where they were allowed to.

+ 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. Excel Freezes frequently
    By priyadva in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-24-2013, 09:16 AM
  2. Excel almost freezes when calculating
    By Kalts in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-13-2012, 03:33 AM
  3. Excel freezes
    By AJBell in forum Excel General
    Replies: 1
    Last Post: 12-08-2005, 11:10 AM
  4. Macro freezes up Excel
    By Jon Delano in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-11-2005, 03:05 PM
  5. [SOLVED] sql server freezes excel
    By kate_cha in forum Excel General
    Replies: 0
    Last Post: 06-02-2005, 09:05 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