Error: could not open macro storage 5981

G

Guest

I have created a Word template that contains quite a bit of embedded
VBA. It seems to work on the various Windows 2000 and XP machines I
have tested it on and with both Word 2000 and 2003. However on one
machine it fails, throwing the error 'could not open macro storage
5981'.

When I step through the code, it seems to fall over on the first
reference to ActiveDocument. Obviously very little code has executed
prior to that point.

Some posters suggest this error occurs if Word is missing some
critical files - breaking the whole VBA engine to fail - but that's
not what's happening in the case: I can create a fresh template
containing a few lines of VBA, and it works without issue.

Any idea what's wrong?
 

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