Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Button on custom toolbar appears only after mouse hovered over it

Hi all,

If have a toolbar that is created when I open a certain workbook; there
are three buttons on the toolbar. The code to add one of the buttons
looks like this:

' Button for email configuration.
With cbcCustomToolbar.Controls.Add(Type:=msoControlButt on)
.FaceId = 2569
.TooltipText = "E-mail instellingen wijzigen"
.OnAction = "ShowMailConfig"
.Style = msoButtonIcon
End With

Strangely enough, the first two buttons show up as expected. The third
one (generated with the code above) is not there, but as soon as I
hover with the mouse above the place where it's meant to be, the button
appears and everything is fine. Why isn't it already there when I open
the workbook?

This happens with Excel 2003.

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
Adding a tip when the mouse is hovered over a shape in Excel.... [email protected] Excel Programming 6 August 3rd 06 09:53 PM
Custom button on toolbar Jack Excel Programming 1 February 7th 06 09:09 PM
custom toolbar button questions Gary Keramidas Excel Programming 8 October 30th 05 02:21 AM
Delete a custom button by holding down the ALT key and dragging the button off the toolbar Stephen[_8_] Excel Programming 0 April 4th 04 02:22 PM
Can't delete custom button and toolbar Ron de Bruin Excel Programming 1 March 1st 04 09:46 PM


All times are GMT +1. The time now is 02:58 PM.

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

About Us

"It's about Microsoft Excel"