View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_3_] Bob Phillips[_3_] is offline
external usenet poster
 
Posts: 2,420
Default ToolBar Question

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.

--
__________________________________
HTH

Bob

"Fan924" wrote in message
...
What does this doat the top of a Toolbar?

Option Explicit
Public Const ToolBarName As String = "MyToolbarName"