Copy Method
Description
Copies the button.
Syntax
Public Function Copy( _
ByVal [Bar](#) As [CommandBar](XtremeCommandBars~CommandBar.md), _
Optional ByVal [Before](#) As Variant _
) As [CommandBarControl](XtremeCommandBars~CommandBarControl.md)
Parameters
- Bar: The CommandBar that the CommandBarButton control will be copied to.
- Before: The index of the control within the CommandBar. The control will be added before the given index.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.