Adds an object to the collection
Syntax:
Function Add(Optional ByVal Name As String = "", Optional ByVal Position As cuiBarPosition = cuiBarFloating, Optional ByVal Temporary As Boolean = False) As CommandBar
Parameters:
Name Type Description
Name
String
Specifies the name of the command bar.
Position
Specifies, through a value of cuiBarPosition, the position of the command bar.
Temporary
Boolean
Specifies whether the command bar is temporary.
Remarks:
The Add method adds a CommandBar object to a CommandBars collection.