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: 1
Default Customizing toolbar buttons

I created some customized toolbars in Excel, and I'd like
to change the appearance of the buttons (background color,
font size, bold) so that it would stand out compared to
the regular Excel toolbars, can anybody tell me how to do
it? Below you'll find my code:

Set metricsbar = CommandBars.Add(Temporary:=True)
With metricsbar
.Name = "Metrics"
.Position = msoBarTop
.Visible = True
End With

Dim clearbutton As CommandBarControl
Set clearbutton = metricsbar.Controls.Add
(Type:=msoControlButton)
With clearbutton
.OnAction = "Clear_AIMSOutput"
.Caption = "Clear AIMS Output"
.Style = msoButtonCaption
End With

Thanks,
Alex.
 
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
Customizing toolbar in Excel2007? mikelee101 Excel Discussion (Misc queries) 1 May 19th 09 07:59 PM
Customizing Excel Toolbar Tate Excel Discussion (Misc queries) 1 April 9th 07 04:43 PM
Customizing MSOffice 2K Format toolbar. Mubeen Excel Worksheet Functions 2 August 24th 05 06:30 AM
Customizing Toolbar Buttons Leo Minervini Excel Discussion (Misc queries) 0 April 6th 05 02:17 AM
Customizing Toolbar terri Excel Programming 1 February 11th 04 04:33 PM


All times are GMT +1. The time now is 08:43 AM.

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"