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

- 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.
Confirm that your Office version and document support AutoSave. In Microsoft 365, AutoSave typically requires a supported file stored in OneDrive or SharePoint.
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.
Open your Office add-in or document's Custom UI XML in the editor you use to maintain the ribbon.
Inside the appropriate custom ribbon group, add <control idMso="AutoSaveSwitch"/> to reference the built-in AutoSave control.
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.
Inspect an exported Office ribbon customization
Use an exported customization file to inspect Office control identifiers.
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.

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.




