A
Adam
I'm maintaining a macro that generates documents
containing hundreds of tables (that are used to produce
illustrations, etc. -- I know, this is not what tables
should be used for -- I didn't come up with the idea, I'm
only picking up where someone else left off). At random
places within the macro, Word 2002 decides to skip rows in
a table when moving the Selection object (either
highlighting or moving). This causes the macro to
eventually crash. If I exit the VBA debugger and the
macro, this behavior is still present in the document
(Example: pressing the down arrow moves the cursor down
one row in a table, pressing the up arrow moves the cursor
up two rows). I can even save the document and return to
it later, and the problem is still present. I've come to
the conclusion that it's a Word 2002 error and not a
problem with a code because the errors aren't
consistent/reproducible (in other words, sometimes the
macro runs all the way through without a hitch). Others
that use the macro have found that rebooting their machine
gets rid of these errors temporarily. I have found that
this behavioral error disappears if I set the zoom level
close enough -- this doesn't seem to make any sense to
me. This isn't a fix though, because the macro acts
totally unpredictable unless the view is set to Normal.
Also, clearing the undo buffer didn't change anything.
I've searched the internet and Microsoft knowledge base to
no avail. Does anyone have a clue as to how to fix this
problem in Word 2002's behavior?
containing hundreds of tables (that are used to produce
illustrations, etc. -- I know, this is not what tables
should be used for -- I didn't come up with the idea, I'm
only picking up where someone else left off). At random
places within the macro, Word 2002 decides to skip rows in
a table when moving the Selection object (either
highlighting or moving). This causes the macro to
eventually crash. If I exit the VBA debugger and the
macro, this behavior is still present in the document
(Example: pressing the down arrow moves the cursor down
one row in a table, pressing the up arrow moves the cursor
up two rows). I can even save the document and return to
it later, and the problem is still present. I've come to
the conclusion that it's a Word 2002 error and not a
problem with a code because the errors aren't
consistent/reproducible (in other words, sometimes the
macro runs all the way through without a hitch). Others
that use the macro have found that rebooting their machine
gets rid of these errors temporarily. I have found that
this behavioral error disappears if I set the zoom level
close enough -- this doesn't seem to make any sense to
me. This isn't a fix though, because the macro acts
totally unpredictable unless the view is set to Normal.
Also, clearing the undo buffer didn't change anything.
I've searched the internet and Microsoft knowledge base to
no avail. Does anyone have a clue as to how to fix this
problem in Word 2002's behavior?