• Home
  • Buy Microsoft Word
  • Word Basics
  • Document Formatting
  • About Me
  • Contact

Sue's Word Tips

Microsoft® Word Tips and Tutorials

Microsoft® Word Tips and Tutorials
  • Home
  • Getting Started
    • Download Free Trial
    • Buying & Installing Word
  • Word Basics for Beginners
  • Using Word
    • About Word
    • Shortcuts and Tips
    • Word File Extensions
  • Working with Documents
    • Document Formatting
    • Creating Documents
    • Clipart & Images
  • Getting Help
    • Troubleshooting Articles
    • How to Find Help
    • Windows Help for Word Users

What are docm Files and How do I Open Them?

December 29, 2008 by Sue Huckle

Docm is a new file extension in Word 2007. It is a close cousin to the docx file, but what does the “M” stand for? And why are security warnings popping up when when I try to open the file?

the special Word document icon for macrosThe “M” stands for macro. A macro is a program that is embedded in a Word file used to automate repetitive tasks. In Word 2007-2013, any file that contains a macro must be saved with this file extension.

You can still save a document that contains a macro as a docx file, but the macro will not be saved with the document.

There are security reasons why Microsoft created the new file extension. A macro is a piece of Visual Basic (VB) programming code that is embedded in the file. This programming code runs a script…which also means if it contains a virus, you allow the virus program to run on your computer.

Caution: Docm files contain programming code that could possibly contain a virus. Always scan received files with your anti-virus program before opening them.

The new extension alerts you that there is potentially harmful code contained in the document so you can take security precautions when opening it.

This article explains how to:

  • open Word macro-enabled files
  • change Trust Center settings to enable macros
  • enable a macro that has been disabled

Opening Microsoft Word macro-enabled files

If you do not own Word (or you own a previous version of Word) and cannot open a macro-enabled file, see the Word Tip How to Open docx Files without Word 2007.

Open a docm file the same way you open any Word file, double-click on the file name or the file icon and the file will open.

Even if you use Word 2007, you may have to change some program settings to use a Microsoft Word macro-enabled document. Overall security settings are changed in the Trust Center.

Changing the Trust Center settings

If you are using Word 2007, but cannot run a macro in a macro-enabled file, check your document security settings. Here is how to access the Trust Center and view or change the settings:

  1. Click the Office Button.
  2. Click Word Options.
  3. In the Word Options dialogue box, select Trust Center.
  4. Under Microsoft Office Word Trust Center, click Trust Center Settings.
    Trust Center Settings button
  5. Select Macro Settings.
    Selecting Macro Settings
  6. Choose the appropriate security settings for your working environment.

As you can see from the screenshot, I selected Disable all macros with notification. This disables macros in any documents I open unless they are located in a trusted location.

Trusted location settings can be changed by selecting Trusted Locations in the Trust Center.

If you never expect to open documents that contain macros and want the highest document security settings enabled, select either Disable all macros without notification or Disable all macros except digitally signed macros.

I do not recommend selecting Enable all macros unless you know you are in a closed and secure computing environment, which is not likely.

If you open a document that violates your Trust Center rules, such as a document from an unknown source or one which is not located in a trusted location, the macro will be disabled and a security warning appears.
Security Warning notice

Enabling a macro that has been disabled

If you receive a macro-enabled file and you want to run the macro, you will have to enable it.

Follow these steps to enable the macro:

  1. Before opening the file, scan it with your anti-virus program to make sure the macro does not contain a virus.
  2. Open the file.
  3. On the Security Warning bar, click Options.
  4. Select Enable this content.
    The Microsoft Office Security Options alert box showing 'Enable this Content' selected
  5. Click OK.

You can now run the macros that are contained in the file.

More Word Tips:

  • How to Open dotx and dotm Files
  • How to Open docx Files
  • How to Open docx Files without Word
  • File Extensions New for Word 2007 docx, docm, dotx, dotm

Filed Under: Word File Extensions Tagged With: docm

About Me

Sue Huckle Hi, I'm Sue. Thanks for stopping by! I hope you find the answers you need to your Microsoft Word questions.

Categories

  • About Word (4)
  • Creating Documents (3)
  • Document Formatting (18)
  • Getting Help (4)
  • Getting Started (5)
  • Graphics and Images (7)
  • Microsoft Word Basics (13)
  • Shortcuts and Tips (7)
  • Troubleshooting (17)
  • Windows Help for Word Users (7)
  • Word File Extensions (10)

Recent Posts

  • 5 Steps for Avoiding Microsoft Word Formatting Mishaps
  • Showing the Microsoft Word Developer Tab
  • Alternate Characters on Keyboard

Connect with Me

  • facebook
  • google+
  • linkedin
  • email
  • rss

Company Pages

  • Home
  • About
  • Contact
  • Privacy Policy
  • Advertising Disclosure
  • Disclaimer

Categories

  • About Word
  • Creating Documents
  • Document Formatting
  • Getting Help
  • Getting Started
  • Graphics and Images
  • Microsoft Word Basics
  • Shortcuts and Tips
  • Troubleshooting
  • Windows Help for Word Users
  • Word File Extensions

Tags

autotext building blocks clip art compatibility mode docm docx dotm dotx formatting forms grammar and spell check headers and footers mail merge microsoft office options and settings Outlook PDF review tables the ribbon tips tutorials windows settings Word 2003 Word 2007 Word 2010 Word 2013 word calendars word numbering word styles

Return to top of page

Copyright © 2008 - 2019 by Sue Huckle Web Communications. All rights reserved. No affiliation with Microsoft Corporation is intended or implied.
Customized by Sue Huckle on the Genesis Framework.