Macro Error in Office 2007 Word

C

COA

I have a machine that has been running Office 07 Pro for a year and then
yesterday it started giving an alert message box about macros. The files I
am trying to open have no macros in them (if they do I didn't create them).
They are simple text documents.

I have searched every know website for a solution but can't find one. I
have changed every setting in the "Trust Settings" and I still get the same
dialogue box. I can click several times and the message finally goes away
and the document opens just fine. The problem is within word itself and not
the files. I created a new document from Start>All Programs>Microsoft
Office>Microsoft Office Word 2007. I still get the same error message.

I printed one of the error messages and it has a number at the top of the
page which is "Office_201099_Q0", whatever that means. I used the builtin
repair application and it found no errors.

This is really annoying getting this macro error mesage when there are no
macros running.

Any help before I "format c:" would be greatly appreciated!:)

--
Thanks
COA

XP Pro SP2
Office 07
DC5750 SFF
2gig Ram
100 gig HD
 
T

Tony Jollans

Word 2007 does not normally give a dialogue box about macros - just a
message bar at the top. It sounds like you have some code running
automatically when documents are opened; it may or may not, be malicious.

Do you still get the problem when you start Word in safe mode (press and
hold Ctrl while Word starts)? Assuming you don't, then you either have an
AddIn or some code in your Normal template doing something you don't want.

You can see if you have any AddIns by going to the Developer tab on the
Ribbon and clicking on the Document Template button. If you disable
(uncheck) them all, does the problem go away? If so, try enabling them one
at a time until the problem returns and you will have your culprit.

If it isn't an AddIn, it may be your Normal Template. Close Word and find
and rename it. It is called Normal.dotm and is normally in Documents and
Settings\(userid)\Application Data\Microsoft\Templates (on XP). After
renaming it, restart Word and it will create a new one. Does that stop the
problem?

If neither AddIn nor Normal, it could be a COM - or Application - AddIn. Try
disabling these in the Trust Centre (Office Button > Word Options > Trust
Center tab > Trust Center Settings > AddIns tab)

If after all that, you still have the problem, I'm almost stumped. (I can't
help feeling all this detail - and more - is somewhere on the word.mvps.org
site but I don't have a link handy)
 
C

COA

I tried all your suggestions and the last one worked. If I disable the
Addins the error message won't come up. If there comes a time to need the
Addins enabled then I will change the setting back.

I was sure your suggestion about creating a new default template was the
answer but that didn't work either.

Thanks for you prompt response to my problem and thank goodness there are
people out there like you that take the time to help others.

Best regards
--
Thanks
COA

XP Pro SP2
Office 07
DC5750 SFF
2gig Ram
100 gig HD
 
T

Tony Jollans

Glad you got rid of the problem. Now you really need to find out which
Application AddIn it is.

Office Button > Word Options > AddIns tab will show you what they are and
allow you to go (use the dropdown and the Go button at the bottom - it's not
immediately obvious) and remove them (or reinstate them) one by one. The
2003 equivalent didn't actually show all COM AddIns - I'm not sure about
2007 - but it's a good place to start.
 
A

Allan R. Acuña - NicaFox

Hi, I have write an macro, but when run the code found an error in macro
number 5981, in the line

Activedocument.Repaginate

Help me, please

I am from Nicaragua

(e-mail address removed)
 
T

Tony Jollans

Error 5981 is an error opening macro storage, yet you say it is on a line in
a macro. It sounds like some sort of corruption - possibly your normal.dot
file. Try deleting (or renaming) it.
 

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