Backstage View - backstage - onHide

 

Specifies a callback which is invoked when an Backstage is closed.

 


Sample Ribbon XML file:

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
   <ribbon startFromScratch="false">
       <!-- Ribbon XML -->
   </ribbon>
  <backstage onHide="OnHide" onShow="OnShow">
      <!-- Backstage Ribbon XML -->
  </backstage >
</customUI>

Function to be copied to a standard module:

Sub OnHide(control)
    MsgBox "Backstage View - Hide", vbInformation, "Callback >OnHide<"  
End Sub

 

You can find this sample in download: BackstageView 1




Zurück