LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 354
Default tool tips & custom buttons

what is the code to change the tool tip for the button 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

question 2
can you create/design a custom button in excel 2007?
if so, how?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool Tips on a new Pete Excel Programming 3 November 1st 07 11:08 PM
Tool tips or screen tips Andrew B[_4_] Excel Programming 0 April 27th 06 07:40 AM
How to add tool buttons in custom header & footer dialog box? wbfree2 Setting up and Configuration of Excel 1 January 23rd 06 06:16 PM
Tool tips on UDF Bjarte Excel Programming 2 October 5th 03 10:32 PM
Custom Tool buttons Mark G. Excel Programming 1 September 26th 03 11:49 AM


All times are GMT +1. The time now is 06:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"