bookmarks and Word's undo stack

R

Rick Charnes

I have a Word 2003 document to which I send function calls via OLE from
another application. My Word doc used to have 235 bookmarks (not
hidden) but I've unfortunately needed to increase that number to
(*gulp*) 1500.

Every once in a while I get this Word error:

"Word has insufficient memory. You will not be able to undo this action
once it is completed. Do you want to continue?"

I'm familiar with this and had previously solved the problem by sending
occasional "ActiveDocument.UndoClear" commands to the doc. Now, after
having added the many extra bookmarks, this error is more frequent.

Is it ok to just send more "ActiveDocument.UndoClear" commands to the
Word doc? Any other solution?
 
W

Word Heretic

G'day Rick Charnes <[email protected]>,

The clear undo only clears one buffer and Word has several. If you are
using screenrefresh false, turn it on and repaginate every now and
again. Also avoid using invis app windows for this same effect.


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Rick Charnes reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top