home / blog

VBA macros – word has insufficient memory

Following error message seen when manipulating bookmarks with VBA in Word.

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

Fix: Clear the undo buffer as you go along.

ActiveDocument.UndoClear
This entry was posted in geek. Bookmark the permalink.

Leave a Reply

Your email address will not be published.