Udostępnij za pośrednictwem


IRibbonUI.ActivateTabQ Method

Activates the specified custom tab on the Microsoft Office Fluent Ribbon UI. Uses the fully qualified name of the tab which includes the identifier and the namespace of the tab.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Sub ActivateTabQ ( _
    ControlID As String, _
    Namespace As String _
)
'Usage
Dim instance As IRibbonUI
Dim ControlID As String
Dim Namespace As String

instance.ActivateTabQ(ControlID, Namespace)
void ActivateTabQ(
    string ControlID,
    string Namespace
)

Parameters

  • ControlID
    Type: System.String

    Specifies the identifier of the custom Ribbon tab to be activated.

  • Namespace
    Type: System.String

    Specifies the namespace of the tab element.

See Also

Reference

IRibbonUI Interface

IRibbonUI Members

Microsoft.Office.Core Namespace