• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Outlook Tips

Learning Microsoft Outlook One Tip At A Time

Diane Poremsky [Outlook MVP]

  • Home
  • Tips Archive
  • How to...
  • Beginner
  • Outlook.com

Tip 319: Using Macros

In a tip a couple of weeks ago, I told you how to use a VBA macro to display a dialog asking where to store the Sent message.  Some people are wondering why it works until they close Outlook. 

It's macro security. The easiest way to make it work is to go to Tools, Macro, Security and set it on Medium. We recommend Medium over Low so that unknown code isn't running without your knowledge, but you will need to Ok it each time you open Outlook.

The better option is to sign your macros with a digital signature then trust yourself and leave it set on High. This is the recommended method for all macros, but if you make any changes to a macro, you'll need to re-sign the project files.

To create a digital signature for signing VBA projects (in any Office
application):

  1. Search for selfcert (you may need to run setup again and install it) and run it.
  2. Follow the steps to create a digital certificate.

If it's not installed:
From Add/Remove programs, choose Office and Change. Select the option to add or remove features and advanced customization. Under Office Shared Featured, choose Digital Certificate for VBA Projects and install it.

Open Outlook and the VBA Editor (Alt+F11), then:

  1. Go to the editors's Tools, Digital Signature menu and follow the dialog to sign the project files. Save then close the editor.
  2. Close Outlook, clicking Save, if asked.
  3. Reopen Outlook. You should be asked about trusting the signee – select the option to always trust and allow it to run.

It should now run every time you use Outlook and if you need to sign macros for other Office applications, the procedure is basically the same.

Published November 29, 2005. Last updated on June 17, 2011.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • More
  • Print
  • Tumblr
  • Reddit
  • Pocket
  • Pinterest

Related posts:

Tip 179: Disable the Acrobat Addin Printing Just One Page in Outlook Last week I told you how to disable Norton Antivirus's Office document scanner and a couple of people thought it was unwise anTip 249: More Antivirus Comments When you install any Office 2003 application the final installation dialog asks if you want to keep the local files, if you have mTip 61: Understanding Local Installation
Subscribe
Notify of
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Primary Sidebar

Search OutlookTips

Training and one-on-one assistance

Do you need help setting up Outlook or want some one-on-one training? I'm available for hire. See Training and one-on-one assistance for fees and to check availability.

All-Time Most Popular Posts

  • Windows 7 and Vista Start Search field
    How to start Outlook in safe mode
  • outlook.com icon
    Delete a message stuck in Outlook's Outbox
  • How to use Outlook's Command line switches
  • Use Cleanviews switch to reset all views
    How to Reset the View on Outlook folders
  • Where are my Outlook Files?
  • Folder paths
    How to Find Folder Paths in Outlook Mailboxes
  • How to use Scanpst.exe to repair Outlook data files
  • Outlook's Missing Holidays
  • backstage page
    Where is File tab in Outlook?
  • Icons found in the Inbox, Message Headers, and Toolbars

Footer

Recent Posts

  • Log into multiple Outlook on the web accounts
  • Keeping Hackers out of Microsoft accounts
  • Microsoft Account Closure Email
  • Outlook on the web Quick Actions moved to the right
  • Automatically sign out of Outlook.com

Recent Bug List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in Outlook for Windows.

Office Update History

Update history for supported Office versions is at Update history for Office

Resources

Ask questions and share your knowledge in Outlook Forums.

You Might Like

Where is File tab in Outlook?
Using Two-factor authentication
Where are my Outlook Files?
How to use Outlook's Command line switches

© 2003–2025 ยท Outlook Tips

wpDiscuz
You are going to send email to

Move Comment