Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Regarding to owc (Spreadsheet) 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



Reply
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
Cant find the Formatting Toolbar on my Spreadsheet. FREDA Excel Worksheet Functions 4 March 1st 05 05:49 PM
why is my spreadsheet and toolbar locked Mogila Excel Discussion (Misc queries) 1 December 23rd 04 03:24 PM
attach custom toolbar to spreadsheet: how? Bart Plessers \(artabel\) Excel Programming 4 December 23rd 03 02:09 PM
Can I set a spreadsheet so that when it is opened, a particular toolbar is loaded. Angus Comber[_2_] Excel Programming 1 November 7th 03 12:45 PM
Transporting a toolbar within a spreadsheet Kent Spry Excel Programming 1 August 13th 03 11:03 AM


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