Disable a macro that was working.

G

Guest

I created a macro on Friday that would create an email to one person with the
click of a button. It worked fine. I tried it this morning, and its not. I
get a pop-up window saying "The macros in this project are disabled. Please
refer to the online help or documentation of the host application to
determine how to disable macros."
I deleted it, and tried a new one, and it still gives me the error message.

The macro is simple, and I can type it in if anybody thinks they can help.

Thanks,
Michael
 
S

Sue Mosher [MVP-Outlook]

Tools | Macros | Security. Restart Outlook after lowering the setting from High. Or digitally sign your project; see http://www.outlookcode.com/d/vb.htm#selfcert

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Thanks Sue.
I did try lowering the setting, and I thought that I did restart Outlook,
but I guess I didnt properly change the setting.
Thanks for the help.
Which is better though? Lowering the setting, or digitially signing?

Michael
 
S

Sue Mosher [MVP-Outlook]

Digitially signing the code is the more secure choice.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

In my attempt to digitally sign it, The Sign As, gives me a choice of only
one certficate, which, "Windows does not have enough information to verify
this certificate.".
Are there other options available? Am I doing this correctly?

Thanks,
Michael
 
S

Sue Mosher [MVP-Outlook]

Yes, you're doing that correctly. Did you read up on Selfcert.exe? As a self-generated certificate, it has no chain of trust from a certificate authority.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Sorry, no, I missed the Seflcert.exe. Well, I actually skipped it. Whoops.
Okay, I did create my own certificate, and now to enable trust, I need to
"install this certificate in the Trusted Root Certification Authorities
Store"?
Am I still doing this correctly?
 
S

Sue Mosher [MVP-Outlook]

Yes, that should be covered in the KB article that has instructions.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Hey Sue.
I read it all, and I think I got it to work properly. I closed Outlook,
opened it up, ran the macro, and no problems.
Thanks so much for your help!

Michael
 
G

Guest

Sue,

I have the same problem as Mikael: I created a macro last week, it worked
fine and now it doesn't. I get the same error message.
i tried the steps that were discribed below (creating certificate, adding it
to the trusted root..., signing, ) but it still does not work.
Is there something else that can be the problem?
Kind regards,Tim
 
G

Guest

Problem is solved.
I found the suggestion in another thread to not just close outlook, but to
restart windows. That worked for me.
Thanks.
 
S

Sue Mosher [MVP-Outlook]

Shutting down Outlook.exe in the Task Manager, then restarting OUtlook, would probably also have worked.
 

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