Enabling disabled macros

D

Don

When I try to use one of my macros I get a Microsoft
Visual Basic dialog box with this message:

"The macros in this project are disabled. Please refer to
the online help or documentation of the host application
to determine how to enable macros."

I have followed the directions as much as I understand
them, but still get the same message.

What can I do to enable these macros?

Why is this a Visual Basic message?
 
S

Suzanne S. Barnhill

Set Security (Tools | Options | Security) to Medium. This will give you the
option of enabling any macros you get messages about. Then, on the Trusted
Sources tab, check the box to "Trust all installed templates and add-ins."
This will cover all templates in all your template folders and any add-ins
in Word's Startup folder. Unfortunately, the trust does not extend to the
Office Startup folder, but when you get a message allowing you to enable the
macros, there will also be a check box for "Always trust macros from
Whosis." If you check this box, you'll get no further prompts about that
add-in.
 
A

aiman

----- Don كتب: ----

When I try to use one of my macros I get a Microsoft
Visual Basic dialog box with this message

"The macros in this project are disabled. Please refer to
the online help or documentation of the host application
to determine how to enable macros.

I have followed the directions as much as I understand
them, but still get the same message.

What can I do to enable these macros

Why is this a Visual Basic message
 
S

Suzanne S. Barnhill

It's a VB message because macros are VB (well, VBA). Have you done what the
message advises? If you type "enable macros" into Word's Help box, you will
get several useful articles.

Go to Tools | Macro | Security and change the security level to Medium. This
will make Word present a dialog allowing you to enable macros. To avoid
seeing the dialog at all in most cases, click on the Trusted Sources tab and
check the box for "Trust all installed templates and add-ins." This will
allow macros to run in the templates in all your templates folders and the
add-ins in Word's Startup folder. Unfortunately, the trust does not extend
to the Office Startup folder, so you may still get a message from those, but
you can prevent that by checking the box (in the dialog) for "Always trust
macros from [the source of the add-in]."
 
Top