AddMenuBar Method
Description
Adds an active menu bar.
Syntax
Public Function AddMenuBar( _
ByVal Name As String _
) As CommandBar
Parameters
- Name: Title of the active menu bar.
Return Type
Returns a CommandBar object that represents the active menu bar.
Remarks
Only one active menu bar can exist at a time. If an active menu bar already exists, AddMenuBar will do nothing.
AddMenuBar is the only way to add the active menu bar back after using DeleteAll.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.