Copy Method
Description
Copies the control to a specified menu bar or toolbar in the indicated position.
Syntax
Public Function Copy( _
ByVal Bar As CommandBar, _
Optional ByVal Before As Variant _
) As CommandBarControl
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.