Skip to content

Instantly share code, notes, and snippets.

@rediffusion
Last active July 30, 2019 12:45
Show Gist options
  • Save rediffusion/58f431999082bb450d5da8444a6bfcc6 to your computer and use it in GitHub Desktop.
Save rediffusion/58f431999082bb450d5da8444a6bfcc6 to your computer and use it in GitHub Desktop.
Sub OnActionGallery(control As IRibbonControl, _
selectedId As String, _
selectedIndex As Integer)
Select Case control.ID
Case Else
Select Case selectedId
Case Else
MsgBox "The selected ItemID of Gallery-Control """ & control.ID & """ is : """ & selectedId & """" & vbCrLf & _
"Die selektierte ItemID des Gallery-Control """ & control.ID & """ ist : """ & selectedId & """", _
vbInformation
End Select
End Select
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment