ToolBar Question

F

Fan924

What does this doat the top of a Toolbar?

Option Explicit
Public Const ToolBarName As String = "MyToolbarName"
 
B

Bob Phillips

You are referring to VBA code.

The Option Explicit tells VBA that all variables must be declared, which
helps avoid naming mistakes.

The Public Const is just creating a constant and loading it with a value. It
would seem that that constant will be used as the name of a toolbar created
later.
 
F

Fan924

If I create say 3 different toolbars, does this appear the same on all
3?

Or does each toolbar have a unique name?
"MyToolbarName"
"MyToolbarName2"
"MyToolbarName3"
 
B

Bob Phillips

You can create one toolbar with many control buttons, or many toolbars, each
with many buttons.
 
Top