Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
i am customizing toolbar of spreadsheet (owc). I have added custom button on toolbar. I have seted tooltip for perticular custom button. When I calling function to add new custom button to toolbar on window_onload() procedure.tool tips not appears. if i call trough some input button its come first and when i click on Speadsheet area it not comes. I also downloaded some Sample Code from msdn. That also have same problems. following is my code segment. Sub AddTips() Dim tb Dim btnNewButton Dim Spreadsheet Dim iNumButtons Set Spreadsheet = document.getElementById("Spreadsheet") Spreadsheet.Refresh Set tb = Spreadsheet.Toolbar iNumButtons = tb.Buttons.Count On Error Resume Next Set btnNewButton = tb.Buttons.Add(iNumButtons, "cmdCreateView","Creer Vue", tbrDefault,10) ' Set the tool tip text. btnNewButton.ToolTipText = "Create view" iNumButtons = iNumButtons + 1 ' Add a separator after the custom button. tb.Buttons.Add iNumButtons, , , 3 End Sub Send email to |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cant find the Formatting Toolbar on my Spreadsheet. | Excel Worksheet Functions | |||
why is my spreadsheet and toolbar locked | Excel Discussion (Misc queries) | |||
attach custom toolbar to spreadsheet: how? | Excel Programming | |||
Can I set a spreadsheet so that when it is opened, a particular toolbar is loaded. | Excel Programming | |||
Transporting a toolbar within a spreadsheet | Excel Programming |