CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 1999
    Posts
    11

    Error: 5981 - Could not open macro storage

    I have created a word document through a VB5 app, and have saved it to the network (Win2K clients and servers). Regardless of who logs in, the document is created, but only I can open the file, everyone else gets the 5981 error when they run the code. Below is a sample of the code and the line that causes the error is marked.

    public withevents wd as Word.Application
    public withevents docWord as Word.Document
    set wd = new Word.Application
    '**error occurs below**
    set docWord = wd.Documents.Open(gsPath & gsFile)



    The Sys Admin says that the permissions on the folders where the documents are created are the same for myself versus the other users, and I confirmed it. I have deleted the normal.dot (which is listed as the main cause for this error) but to no end. Also, when I log on to another persons machine, there is no error, but it does occur when they are logged on. Any help with this would be appreciated. If you have any questions, feel free to ask, I'll be checking back frequently.

    Thanks,
    scooter







  2. #2
    Join Date
    Oct 2001
    Posts
    1

    Re: Error: 5981 - Could not open macro storage

    Was there a resolution to this? I'm having the same issue.
    Error Description: Could Not OPen Macro Storage
    Error Number: 5981
    Error Path: Microsoft Word


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured