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?
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?
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
screen shot.jpg
here is a screen shot of the file. the only error I get is "excel has stopped responding"
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.).
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.)
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..
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.
I made the sujested changes, with no changes.
Try my post # 6 suggestion and raise your further questions if the suggestion fails.
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.
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.
ok, thank you
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
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
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.)
Did you consider my suggestion?
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?
If they're all "Not Responding" then I'd suspect that you need to repair them all - you could try one
ok, I will give it a shot
It worked for me!
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: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.Please Login or Register to view this content.
If I helped, please click on Add Reputation.
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.
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
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks