Skip to content

AddControl Method

Description

Adds an existing command bar control to the collection.

Syntax

Public Sub AddControl( _
    ByVal Control As CommandBarControl, _
    Optional ByVal Before As Variant _
)

Parameters

  • Control: A CommandBarControl to add to the collection. For example, a control created using a Clone method.
  • Before: The index of an existing control that the new control should be added before.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.