Search notes:

CommandBars.executeMso

The following example opens File -> Options -> Trust Center (-> Trust Center Settings) -> Macro Settings.
application.commandBars.executeMso "MacroSecurity"

List of IDs

Microsoft provides a list of control identifiers for
This list is also hosted on github.
Note: the IDs are case sensitive.
Some interesting IDS include:
HideRibbon Toggle between hidden and shown Ribbon.
MinimizeRibbon Hide Ribbon (but leave menu visible)
VisualBasic Show Visual Basic Editor
ViewCode Show the code-module of the active worksheet.
MacroRecord Open dialog to record a VBA macro (Simulate Developer -> Code -> Record Macro)
MacroRelativeReferences
DesignMode
AddInManager, ComAddInsDialog Add-Ins
DataFormExcel Open the auto data input form for a table. Compare with activeSheet.showDataForm

Index