Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


"enable macros" and "disable macros" dialog

Posted on 1998-10-01
Medium Priority
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 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

609 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