Strange Excel infinite-loop problem

Thread Solved

Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Strange Excel infinite-loop problem

 
0
  #1
Nov 12th, 2007
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.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Strange Excel infinite-loop problem

 
0
  #2
Nov 15th, 2007
Nobody has any insights on this?
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Strange Excel infinite-loop problem

 
0
  #3
Nov 25th, 2007
Can someone at least explain the "Can't Edit a Table" error?
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Strange Excel infinite-loop problem

 
0
  #4
Nov 27th, 2007
Originally Posted by MidiMagic View Post
Can someone at least explain the "Can't Edit a Table" error?
The message is actually: "Can't change part of a table."
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,294
Reputation: bobbyraw is an unknown quantity at this point 
Solved Threads: 95
bobbyraw's Avatar
bobbyraw bobbyraw is offline Offline
Nearly a Posting Virtuoso

Re: Strange Excel infinite-loop problem

 
0
  #5
Nov 28th, 2007
LOL @ midi

is funny you have to be replying to your own post, what version of excel are they using?
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Strange Excel infinite-loop problem

 
0
  #6
Dec 1st, 2007
Excel 2003

I have to reply because I can't edit, due to the upidstay time limit.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,294
Reputation: bobbyraw is an unknown quantity at this point 
Solved Threads: 95
bobbyraw's Avatar
bobbyraw bobbyraw is offline Offline
Nearly a Posting Virtuoso

Re: Strange Excel infinite-loop problem

 
0
  #7
Dec 1st, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Strange Excel infinite-loop problem

 
0
  #8
Dec 4th, 2007
The problem is that, when both errors occur together, I can't get rid of the repeating error message.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,203
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: Strange Excel infinite-loop problem

 
0
  #9
Dec 17th, 2007
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.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC