Word 97 Locks up and Visual Basic starts automatically

H

harold

How can I keep Visual Basic from starting every time I use
Word 97 and why would Word 97 start running very slow and
locking up? The rest of my computer runs fine. Any
suggestions?
 
B

Beth Melton

Hi Harold,

Can you expand on what you mean by "how can I keep Visual Basic from
starting every time I use Word 97"? Do you mean that you encounter a
Visual Basic error or that the Visual Basic program starts each time
you start Word?

If the former then a VB error indicates there is an error in a macro
attempting to run when Word starts. Typically these are created by 3rd
parties and are not part of the Word installation. For steps to
resolve this issue take a look at the Templates and Add-ins section of
this article:
http://www.mvps.org/word/FAQs/AppErrors/ProbsOpeningWord.htm

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
H

harold

Beth,

Thanks for your reply. Visual basic does not produce an
error, it simply runs every time I work on a Word
document. It started some time back when I received an
attachment with a macro in it. I don't want Visual basic
running but I can't figure out how to make it stop.
 
B

Beth Melton

Hi Harold,

I still need some specifics on how Visual Basic is running.

The Visual Basic environment is always 'running in the Office apps.
Are you saying that the Visual Basic Editor starts as a task in the
Taskbar? If you can provide a description of what you see happening
that will help a lot. :)

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
H

harold

Beth,

I never see Visual Basic on my task bar until I close
Word. When I close any document in Word then VB appears
on my task bar and I have to close it down as well as
Word. I prefer not to have to do that. In the past, when
I closed Word, it closed and I never saw VB.

Thanks,

Harold
 
B

Beth Melton

Hi Harold,

Ah! That helps explain things. :)

I'd say you have a macro running when Word exits and it opens your
Visual Basic Editor.

- Go to Tools/Macro/Macros and make sure "Macros in" reflects "All
active templates and documents".
- See if there are any macros named "AutoExit" (or "Auto" something
such as AutoClose)
- Select the macro and see if the Edit or Delete command is available
- If it is then either Delete the macro or click "Edit" and place an
"X" in front of the macro name to prevent it from automatically
running until you can determine what the macro is actually doing

If delete is unavailable then chances are it is stored in a global
template. A global template is a template located in your Startup
folder that is automatically loaded when Word starts. You can find a
list of these under Tools/Templates and Add-Ins.

To determine which template, in the Macros dialog box, narrow down the
list of macros using "Macros in" at the bottom until you have
determined where the macro is stored.

Once you locate the template then either open the template and
delete/rename the macro or move the template out of the folder so it
will no longer be used.

Global templates are typically stored in your Word\Startup folder or
Office\Startup. Your Word\Startup folder can be determined by going to
Tools/Options/File Locations to verify this location. The
Office\Startup folder will be located in the installation path for
Office.

--
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
H

Harold

Beth,

THANK YOU! I followed your suggestions and found and
deleted an 'Auto Close' macro.

Thanks Again,

Harold
 

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