LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Microsoft News
 
Posts: n/a
Default regarding to Spreasheet Toolbar

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


 
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
I would like to delete a custom toolbar from the workspace. How? twiga Setting up and Configuration of Excel 1 December 23rd 04 05:55 PM
"work items toolbar" UncleVinny Excel Discussion (Misc queries) 4 December 21st 04 12:59 AM
"Drawing" Toolbar is inactive Deauxx Excel Discussion (Misc queries) 1 December 8th 04 03:03 PM
eurovalue toolbar won't go away windowed Excel Discussion (Misc queries) 2 December 3rd 04 04:12 PM
How do I stop the Reviewing toolbar from showing up in Excel? RickKel Excel Discussion (Misc queries) 2 November 26th 04 05:37 PM


All times are GMT +1. The time now is 03:36 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"