Office Settings & Configuration

Find the AutoSave Button idMso for Office Custom UI XML

Aamir Naveed AkramAamir Naveed Akram Nov 14, 2026 869 views

Question details

Find the Office Custom UI XML identifier for the AutoSave control so it can be included in a customized ribbon.

Find the AutoSave Button idMso for Office Custom UI XML
Product
Microsoft Word and Office Custom UI
Device & OS
not provided
Scenario
A user is customizing an Office ribbon and needs to restore or add the AutoSave control.
Observed behavior
The user needs the built-in control identifier to reference AutoSave in ribbon XML.
Before you start

Confirm that your Office version and document support AutoSave. In Microsoft 365, AutoSave typically requires a supported file stored in OneDrive or SharePoint.

Solution 1Recommended

Add AutoSaveSwitch to the Office Custom UI XML

Use the built-in AutoSave control identifier in your custom ribbon definition.

The idMso for the Office AutoSave control is AutoSaveSwitch. Referencing it adds the built-in control where supported; it does not by itself enable AutoSave for an unsupported document.

1
Open the ribbon XML

Open your Office add-in or document's Custom UI XML in the editor you use to maintain the ribbon.

2
Reference the control

Inside the appropriate custom ribbon group, add <control idMso="AutoSaveSwitch"/> to reference the built-in AutoSave control.

3
Load and test

Save the customization, reload the add-in or reopen the document, and check the custom ribbon group for AutoSave. Test with a supported document stored in OneDrive or SharePoint.

Availability depends on Office: The control's visibility and functionality depend on the Office application, version, document type, and storage location.
Free Microsoft Office alternative

Edit Word Documents with WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easy to move everyday document work. It does not modify Microsoft Office's Custom UI XML or restore its AutoSave control.

Create and edit documents in a familiar ribbon-style interfaceOpen and save Microsoft Word DOC and DOCX filesUse a free, lightweight suite for everyday office work
microsoft office alternative - wps office

Frequently Asked Questions

What is the idMso for the Office AutoSave button?

The built-in AutoSave control identifier is AutoSaveSwitch. Reference it in a custom ribbon group with <control idMso="AutoSaveSwitch"/>.

Does adding AutoSaveSwitch turn on AutoSave?

No. The XML references the control; AutoSave still requires a supported Office version and document. In Microsoft 365, a supported file typically needs to be stored in OneDrive or SharePoint.

How can I inspect an exported ribbon customization?

In Word, go to File > Options > Customize Ribbon > Import/Export and export the customizations. Rename a copy of the exported file with an .xml extension and open it in a text editor.

Can WPS Office restore the Microsoft Office AutoSave control?

No. WPS Office is an alternative for editing compatible documents; it does not change Microsoft Office's ribbon XML or restore its controls.