.MHM File Extension

.MHM File Extension

File Type

Microsoft Hardware Macro

Developer Microsoft
Popularity
3.0  |  1 Votes
Category Executable Files
Format XML

What is an MHM file?

An MHM file is a macro recorded using the Microsoft Mouse and Keyboard Center. It is used to automatically perform a task in Windows or a Windows program, such as Microsoft Word or Microsoft Excel. To execute the macro an MHM file contains, you must own a Microsoft mouse and/or keyboard, and you must use Microsoft Mouse and Keyboard Center to associate your MHM file with a mouse or keyboard button. MHM files are stored in the Documents/Microsoft Hardware/Macros directory.

More Information
Screenshot of a .mhm file in Microsoft Visual Studio Code
MHM file open in Microsoft Visual Studio Code

Macros are scripts you can execute to complete a complex or repetitive task. Most often, users execute a macro by pressing one or more keyboard keys. For example, users who often format their Microsoft Word documents the same way can create a macro that, with a single keypress, applies that formatting.

In Microsoft Mouse and Keyboard Center, Windows users who own a Microsoft keyboard or mouse can create macros and associate them with a certain mouse or keyboard button. These macros are saved as MHM files. Microsoft Mouse and Keyboard Center comes with a default set of MHM files, which are intended for use with Microsoft Excel, OneNote, Outlook, PowerPoint, Project, Visio, and Word. However, when creating their own macros, users can save MHM files that perform nearly any Windows action.

NOTE: If you do not own a Microsoft keyboard or mouse, you will not be able to open MHM files in Microsoft Mouse and Keyboard Center.

How do I open an MHM file?

Provided you own a Microsoft keyboard or mouse, you can open MHM files in Microsoft Mouse and Keyboard Center (Windows). From there, you can associate the macro an MHM file contains with a mouse or keyboard button.

If you do not have access to Microsoft Mouse and Keyboard Center, but you want to learn more about your MHM file, you can open it in any text or source code editor, such as Microsoft Visual Studio Code, to view the XML data the file contains.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open MHM files

Updated July 26, 2021

Verified by FileInfo.com

The FileInfo.com team has independently researched the Microsoft Hardware Macro file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.