Bookmarks and Word's undo stack

R

Rick Charnes

I have a Word 2003 document to which I send Word 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, I'm getting the error again.

Is it ok to just send lots more "ActiveDocument.UndoClear" commands to
the Word doc? Is there another solution? Thanks much.
 
R

Rick Charnes

Woops -- my bookmarks ARE hidden bookmarks. When I created them, I
didn't indicate that I wanted them hidden, but now I see they do appear
when I check the 'Hidden bookmarks' checkbox in the Bookmark dialog.
What is a hidden bookmark anyway?

The reason I'm concerned is that I've heard that this "Word has
insufficient memory" error can be a symptom of having too many hidden
bookmarks.
 

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