Clicking on the Save button in MSWord I get a Visual Basic error .

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a win2000 professional operating system and this problem that I am
mentioning I only see on MS word 2000, not on Excel, powerpoint etc...

When I open a new word doc and make changes or edit it , and then click on
the Save button I get a Visual Basic error message saying " Sub Function not
defined" all the time. I cannot save the word doc.

I removed Visual Basic from my machine, rebooted but see the same problem.

Can somebody please help out asap. Thanks a ton,
 
Sounds like there's an addin out there that's trapping the OnSave function.
Check in your StartUp directory for Word and see if you have any templates or
other files you don't recognize. The simplest thing to do if you find them
is to change the extension on them (to something like xxx) so that if
deleting them has side effects you can get back at them.

For a thorough explanation of the mechanics of trapping the save event, etc.
see:

http://word.mvps.org/FAQs/MacrosVBA/AppClassEvents.htm
 
Look in Tools | Macro | Macros for a FileSave or FileSaveAs macro. If you
find one, delete it if possible. If you can't delete it, change the "Macros
in" setting until you find which template the macro is in, then remove that
template from Word's Startup folder (or wherever else it is located; you can
find this information in Tools | Templates and Macros).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

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

Back
Top