"enable macros" and "disable macros" dialog

Posted on 1998-10-01
Last Modified: 2011-09-20

I made a custom form in my outlook 97 , it is stored on
the local pc and not on an exchange server.

the problem is that every time I a message based on that
form , I get the "enable macro" | "disable macro" dialog
and I surely can't ship this form as an application with
that poping up every time , how do I get rid of it ?


even in end-client computer I can't gurrante an exchange
server exist and the form will be probably stored in the
local pc too.

Question by:moshem
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment

Accepted Solution

chewhoung earned 200 total points
ID: 1621752
Here's the answer from Microsoft:

OL98: Questions About Custom Forms and Outlook Solutions
Last reviewed: September 2, 1998
Article ID: Q182349


The information in this article applies to:
Microsoft Outlook 98

This article answers some of the more commonly asked questions about creating custom Microsoft Outlook 98 forms or programming Outlook either through Microsoft Visual Basic Scripting Edition (VBScript) or Visual Basic for Applications Automation.

Topics covered include:

Available resources for customizing Outlook
Setting up a simple form for use in a folder (message classes)
Custom forms and programming limitations
Disabling the enable/disable macro virus warning
Cannot select a control in design mode
Data does not get saved with form
Programmatically referring to folders and items
How to use Automation with Outlook
One-off forms
Programmatically importing items into Outlook
Using the SetColumns method
Working with User-defined fields
Using Outlook 98's new contact fields
Control and field events
General information about VBScript


Where do I get started with custom forms or programming Outlook?

For more information about available resources for learning how to create solutions with Outlook 98, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q180826
   TITLE     : OL98: Resources for Custom Forms and Programming

I have created a custom form for my Contacts, Tasks, and so on, but it is not being used when I create a new item, when I open an existing item I had before I created the form, or when I create a new item. Why is my form not being used?

To use a custom Outlook form, there are three steps you need to complete.
First, publish the form in the folder or forms library where you will use it. On the custom form File menu, click Publish Form. The name of the form is also the "Message Class," which is important for the next two steps.

Second, make this new form the default form for that folder. Using your right mouse button, click the folder and from the shortcut menu, click Properties. In the "When posting to this folder, use" list, click to select your custom form. Now new items that you create will use the custom form instead of the default Outlook form.

Third, if you have any existing items in the folder that should use this new form, you must change the Message Class field in each of the items in the folder. The Message Class field of an item tells Outlook which form to use to display the item. You cannot directly change this field from an Outlook since it is considered read-only, but you can use VBScript or Automation code to change it.

For more information about changing the message class of an item in a folder, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q182274
   TITLE     : OL98: How to Update Existing Items to Use a New
               Custom Form

   ARTICLE-ID: Q182361
   TITLE     : OL98: Word 97 Document to Change Outlook Folder
               Message Class

I am trying to do something but it doesn't seem possible. Is it?

Outlook does not support a "full" object model, such as those in Microsoft Word or Microsoft Excel, so what you are trying to do may not be possible. Also, there may be other Outlook design considerations or limitations that may prevent you from using a desired approach in creating a solution.
For more information about some of the more common things that cannot be done with custom forms, VBScript, or Outlook Automation, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q182402
   TITLE     : OL98: Custom Forms and Programming Limitations

How can I disable the macro warning?

If the form is not located in a trusted location, then Outlook will display the macro warning for your protection against potentially maliciously-written programming code, commonly called macro viruses.

Disable the Macro Warning

Open the form that causes the Macro Warning dialog to open.

On the Tools menu, point to Forms and click Design This Form.

On the Properties tab, click to uncheck Send form definition with item.

On the Tools menu, point to Forms, and click Publish Form.

Close the form. It is not necessary to save the changes if prompted.

For more information about this issue, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q182376
   TITLE     : OL98: Why Outlook Displays a Security Warning Opening
               an Item



Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Find out what you should include to make the best professional email signature for your organization.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question