Office Word: sub or function not defined

Hi guys, 

I am wondering if any of you ran into the following problem and by any chance knows how to solve it. Thanks in advance. 

I tried MS 2007, 2010, 2013, and following Symptoms apply to all versions:
1)  when I open and close MS Word, a dialogue box pops up and says "sub or function not defined" 
2) copy and paste functions don't work, whenever I try to copy or past, the message in 1) pops up again

It has been bothering me in the past couple month and I am wondering if anyone can save me from re-installing the entire windows system! 

Thanks again!

Ryan
Answer
Answer
The problem undoubtedly relates to a defective macro either in the normal template, the document template or an add-in template. Rename the normal template to normal.dotm.old, and remove any templates from the Word startup folder - If you have not changed the preferred startup folder it can be located (in English language versions of Windows) by typing
%appdata%\Microsoft\Word\Startup
in the Windows Explorer Address bar and pressing Enter.
Graham Mayor (Microsoft Word MVP 2002-2019)
For more Word tips and downloads visit my web site
https://www.gmayor.com/Word_pages.htm

8 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Answer
Answer
If you have not changed the default location enter or copy
%appdata%\Microsoft\Templates
to the address window of Windows Explorer and you will be taken to the folder that contains the default template normal.dotm. Note that this folder is normally hidden.
Once you have renamed the template and removed any startup templates (both with Word closed) restart Word and the problem should be resolved. You will then need to see if there are any updates to the add-ins you have removed to make them compatible.
Graham Mayor (Microsoft Word MVP 2002-2019)
For more Word tips and downloads visit my web site
https://www.gmayor.com/Word_pages.htm

5 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated March 6, 2024 Views 6,584 Applies to: