Removes all tabs, controls, commands, and backstage elements.

Syntax

Send_Message(Ctrl, "OLE.Clear")

Remarks

Resets the Ribbon to the same state it was when the control was first created, allowing you to call the Init method again.

Example

// Reset
Send_Message(@Window:".OLE_RIBBON", "OLE.Clear")
  • No labels