Access/VBA Library

ribbonBackstageButton

Private function which returns a String containing XML for a Button on the Backstage of the application.

Syntax

ribbonBackstageButton( idMso, visible )
Parameters
Name Type Description
idMso String Required. A valid Access Mso Id.
visible String Required. Contains "true" or "false" to indicate the button is visible or not.
Return value

String : XML for the specified button.

Code
Private Function ribbonBackstageButton(idMso As String, _
                                       visible As String) As String
    ribbonBackstageButton = "<button idMso=" & Chr(34) & idMso & Chr(34) & _
                            " visible=" & Chr(34) & visible & Chr(34) & "/>"
End Function
XMLtag:XML

See also

  • ChangeRibbon