P
peterc
I am updating a word macro from 2000 to 2003.
The problem is about the table of contents macro. A macro insearts the table
of contents with specific tabstops. It first deletes existing tabstops and
then inserts new one's.
It works fine with new document based on the new macro in work 2003, but
documents made with the old word 2000-macro don't work properly the first
time you run it. If you run it another time right after the first (or update
the table of contents, ritht-click update) it works just fine.
It seems like if the tabstops.clearall doesn't work the first in the old
word- 2000 document.
Does anyone know why? How can I get the macro to work the first time I run
in an old document?
/peterc
The problem is about the table of contents macro. A macro insearts the table
of contents with specific tabstops. It first deletes existing tabstops and
then inserts new one's.
It works fine with new document based on the new macro in work 2003, but
documents made with the old word 2000-macro don't work properly the first
time you run it. If you run it another time right after the first (or update
the table of contents, ritht-click update) it works just fine.
It seems like if the tabstops.clearall doesn't work the first in the old
word- 2000 document.
Does anyone know why? How can I get the macro to work the first time I run
in an old document?
/peterc