
January 17th, 2006, 07:29 AM
|
|
Registered User
|
|
Join Date: Jan 2006
Posts: 1
Time spent in forums: 7 m 50 sec
Reputation Power: 0
|
|
|
Run-time error 5981: Could not open macro storage
Hi,
I am trying to create a word document through my Visual basic application, I am getting the following error.
Run-time error 5981: Could not open macro storage
at line 2
1> Set oWord = CreateObject("Word.Application")
2> Set oDoc = oWord.Documents.Add
I have tried renaming the normal.dot file as per the suggesstion from microsoft site, but still no use the same error repeats.
I am using Office2003-SP1 and Windows OS2003-SP1.
Please help me in this regard,
ourspt
|