944,130 Members | Top Members by Rank

Nov 12th, 2007
0

Strange Excel infinite-loop problem

Expand Post »
I teach a beginners class using Excel.

During an examination, some of my students misread the instructions (provided by the department, not by me). These are the kinds of errors only a novice could make. This caused the following two errors to occur.

- Instead of just putting data into a group of cells named the "constants table", some of them used the Data / Table function to create this table. We don't even teach about Data / Table, but they had just had tables in Word a few weeks earlier, and did what you do in word.

- The instructions used BASIC-style programming assignment statements to tell the students what kinds of formulas to put in the cells. The novices put in the entire assignment statement, instead of just the right side. This caused a circular reference, since the left side referred to the cell it was in.

- If these students made other errors, I don't know what they were. I can't replicate this trouble by trying to do it on purpose.

The infinite-loop problem happened when the student made BOTH of the first errors, plus some other error I can't think of. When they made one of the circular errors that also had a reference to the constants table, the following error messages occurred in sequence:

1. The circular error dialog box opened, put the cursor on the error cell, and opened it for editing. The colored indicators appeared, with one in the constants table.

2. The error dialog box closed, and a new error dialog box opened saying "Can't edit a table."

Any attempt to do anything anywhere on the worksheet after that caused the "Can't edit a table" error to pop up again. I couldn't find a way to get out of the loop, other than by using the Task Manager to close Excel. This destroyed all of the work the student did so far.

This happened to several different students.

Questions:

1. Has anyone else made Excel lock up like this?

2. Why does it get locked up?

3. Is there any way to get out of the loop without closing Excel?
Last edited by MidiMagic; Nov 12th, 2007 at 2:26 pm.
Similar Threads
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Nov 15th, 2007
0

Re: Strange Excel infinite-loop problem

Nobody has any insights on this?
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Nov 25th, 2007
0

Re: Strange Excel infinite-loop problem

Can someone at least explain the "Can't Edit a Table" error?
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Nov 27th, 2007
0

Re: Strange Excel infinite-loop problem

Click to Expand / Collapse  Quote originally posted by MidiMagic ...
Can someone at least explain the "Can't Edit a Table" error?
The message is actually: "Can't change part of a table."
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Nov 28th, 2007
0

Re: Strange Excel infinite-loop problem

LOL @ midi

is funny you have to be replying to your own post, what version of excel are they using?
Reputation Points: 34
Solved Threads: 102
Nearly a Posting Virtuoso
bobbyraw is offline Offline
1,316 posts
since Oct 2006
Dec 1st, 2007
0

Re: Strange Excel infinite-loop problem

Excel 2003

I have to reply because I can't edit, due to the upidstay time limit.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Dec 1st, 2007
0

Re: Strange Excel infinite-loop problem

ok, can you remove the table or edit the code the student put in the cell, i know you state that you would like to know how the error was created but you already have the answer. they enter VB codes in a table, probably link to some other cell. the code will run, but it will be pointing to the same cell the code is written in. hence the circular reference.

remeber in excell one cell can take ALOT of data, so a vb code in a table would be the same thing.
Reputation Points: 34
Solved Threads: 102
Nearly a Posting Virtuoso
bobbyraw is offline Offline
1,316 posts
since Oct 2006
Dec 4th, 2007
0

Re: Strange Excel infinite-loop problem

The problem is that, when both errors occur together, I can't get rid of the repeating error message.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Dec 17th, 2007
0

Re: Strange Excel infinite-loop problem

I tracked it down.

First, you have to use Esc to undo the edit that started the trouble.

Then, you have to remove all of the cells in the erroneously created table at one time:

Use control ` to display formulas. Now you can see the affected range. Then select the entire range at once, and press Del.
Last edited by MidiMagic; Dec 17th, 2007 at 6:48 pm.
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Windows Software Forum Timeline: Help! I cannot install Ad-Aware 2007
Next Thread in Windows Software Forum Timeline: Free DivX Pro Download





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC