You are here:   Backstage View - hyperlink - onAction

Backstage View - hyperlink - onAction


This callback will be performed when clicking the ribbon control.

Sample Ribbon XML file:

<customUI xmlns="">
   <ribbon startFromScratch="false">
       <!-- Ribbon XML -->
    <tab id="btab1" label="Label 1. Tab">
       <group id="myGroup" style="normal" label="Form Button:">
           <hyperlink id="hlnk1" imageMso="ViewOnlineConnection" onAction="OnActionHyperlink"/>
           <hyperlink id="hlnk2" label="Goto AccessRibbon" getTarget="getTaget"/>
           <hyperlink id="hlnk3" imageMso="SharingOpenMailFolder" onAction="OnActionHyperlink"/>
           <hyperlink id="hlnk4" label="Email AccessRibbon" getTarget="getTaget"/>
   <button id="btnFast1" label="Label Backstage Button" imageMso="HappyFace" onAction="OnActionButton"/>

Function to be copied to a standard module:

Sub OnActionHyperlink(control As IRibbonControl)
    Select Case control.Id
        Case Else
            MsgBox "Hyperlink """ & control.Id & """ clicked"
    End Select
End Sub

You can find this sample in download: BackstageView 1



Last Updates:

New Download added. ...

Update Site "Trusted Locations" ...

New Download added. ...

IDBE RibbonCreator 2016 (x86 and x64) for Office 2013 and Office 2016 - new release. ...


Last update: