Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 5981- could not open macro storage

Status
Not open for further replies.

sheelashankar

Programmer
Aug 7, 2001
7
US
Hi, I have created a VB application which automates Word. If I login as the administrator, I can launch Word. If I login as a user, I get error 5981-could not open macro storage.
I have tried the following:
1.Dcomcnfg.exe - given edit and launch permissions to the user . In Program Micorsoft word basic, in the identity tab, I have selected Interactive user as the user account.
Actually I have tried all cobinations- launching user, interactive user, this user

2. Tried reinstalling office 97
3. Read all microsoft forums
I am yet to solve my problem.Any suggestions?
Thanks
sheela
 
What Windows version are you using?

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
HAve you checked to make sure the users have appropriate rights to the directory where the macros are stored?

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
There are no macros. I get an error when I try to
open a word document .

My code is as follows :
Dim wobj As Word.Application
Set wobj = New Word.Application
wobj.Visible = True
wobj.Documents.Open ("L:\375342.doc")

And yes, the users have access to L (read access)
If I login as administrator, there is no problem in opening word.
 
Probably because the users need to have modify access to that directory because word creates temp files.
 
I tried giving update permissions to the folder and also c:\temp, it did not work.
Any other suggestions?
 
What do you mean update permissions? What is the operating envirnment?
 
We are using Windows 2000.
In the security tab, select the user name, and in the permissions, I have given permissions to read, write and modify.
 
How tight are the workstations locked down? I am wondering if it is having problems reading one of the templates on the workstation, for example, Normal.dot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top