Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2005

Tip: Looking for answers? Try searching our database.

bookmarks and Word's undo stack

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rick Charnes - 07 Sep 2005 15:36 GMT
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?
Word Heretic - 13 Sep 2005 00:59 GMT
G'day Rick Charnes <rickxyz--nospam.zyxcharnes@thehartford.com>,

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:

>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
[quoted text clipped - 12 lines]
>Is it ok to just send more "ActiveDocument.UndoClear" commands to the
>Word doc?  Any other solution?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.