Are you an LLM? You can read better optimized documentation at /en\official\Reference\tbIDE\Toolbars.md for this page in Markdown format
Toolbars class
The collection of IDE toolbars. Reached through Host.Toolbars. Currently a single toolbar --- Host.Toolbars(0) --- but the collection interface allows future IDE versions to add more.
vb
With Host.Toolbars(0)
.AddSplitter
Set Button1 = .AddButton("MyAddIn.Button1", "Refresh")
End WithProperties
Count
The number of toolbars. Long, read-only. Currently always 1.
Item
Indexed access to a toolbar. DefaultMember --- so Toolbars(0) is equivalent to Toolbars.Item(0).
Syntax: toolbars( Index ) As Toolbar
- Index
- A zero-based Variant index. Currently
0is the only valid value.