A
ACCtionMan
At the beginning of the week my PC was updated with some Microsoft
security updates which has resulted in a number of problems occurring
with MS Word documents. I am on an business network and we are
running Office 2007 and Windows XP.
The issues all seem to be related to documents that have been created
based on a template. The template in turn has a reference to another
template that contains a small amount of VBA code.
1st issue - unable to save the document. There are no error messages,
the document just doesn't save and you can't do a 'Save As' either.
2nd issue - selected line of code gets a run time error '5981' "could
not open macro storage"
Dim myWord As Word.Application
myWord.Selection.TypeParagraph ' this line executes
myWord.Selection.Style = ActiveDocument.Styles("Screen and Border") '
this line gets the run time error
3rd issue - opening documents from an Access database gets an error
"Word could not fire the event". You click 'OK' and the document
opens.
I have searched various forums but there wasn't much relating to Word
2007. I have tried the suggestions from the following link
http://support.microsoft.com/kb/212669/EN-US/
security updates which has resulted in a number of problems occurring
with MS Word documents. I am on an business network and we are
running Office 2007 and Windows XP.
The issues all seem to be related to documents that have been created
based on a template. The template in turn has a reference to another
template that contains a small amount of VBA code.
1st issue - unable to save the document. There are no error messages,
the document just doesn't save and you can't do a 'Save As' either.
2nd issue - selected line of code gets a run time error '5981' "could
not open macro storage"
Dim myWord As Word.Application
myWord.Selection.TypeParagraph ' this line executes
myWord.Selection.Style = ActiveDocument.Styles("Screen and Border") '
this line gets the run time error
3rd issue - opening documents from an Access database gets an error
"Word could not fire the event". You click 'OK' and the document
opens.
I have searched various forums but there wasn't much relating to Word
2007. I have tried the suggestions from the following link
http://support.microsoft.com/kb/212669/EN-US/