Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
what is the code to change the tool tip in this example:
Private Sub AddToolbar() Dim tbb As Object On Error Resume Next Toolbars("Test").Delete On Error GoTo 0 Set oTB = Toolbars.Add(Name:="Test") With oTB .Left = 117 .Top = 186 Set tbb = .ToolbarButtons.Add(Button:=23, Befo=1) tbb.OnAction = ThisWorkbook.Name + "!custommacro" .Width = 200 .Visible = True End With End Sub |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't think you can do that. Toolbars are considered obsolete in
Excel. Instead, you should be using CommandBars and CommandBarControls. Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Tue, 7 Apr 2009 07:03:26 -0700, daniel wrote: what is the code to change the tool tip in this example: Private Sub AddToolbar() Dim tbb As Object On Error Resume Next Toolbars("Test").Delete On Error GoTo 0 Set oTB = Toolbars.Add(Name:="Test") With oTB .Left = 117 .Top = 186 Set tbb = .ToolbarButtons.Add(Button:=23, Befo=1) tbb.OnAction = ThisWorkbook.Name + "!custommacro" .Width = 200 .Visible = True End With End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Tool bar | Excel Discussion (Misc queries) | |||
tool bar | Excel Discussion (Misc queries) | |||
tool bar | Excel Discussion (Misc queries) | |||
Tool Bar | Excel Programming | |||
I am missing view tool bar from tool menu. | New Users to Excel |