LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default how do you create custom buttons in office 2007?

He said Excel 2007. Your technique works in Excel 97 through 2003, but has
been deprecated. It's a shame too, because that approach allowed a great
deal of flexibility.

The way to do it is to right click on the control you want, and select the
Add to Quick Access Toolbar, or click the down arrow on the end of the QAT
and select Customize Quick Access Toolbar. You can only add things to the
QAT, and this can only be located above or just below the Ribbon, not close
to where the user wants to use it.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"lcoreyl" wrote in
message ...

embedded in sheets, just use the control toolbox to click wherever you
want it. To make a toolbar, or add a button to an existing toolbar use
something like:

Set NewToolbar = Application.CommandBars.Add(Name:="newToolbar",
temporary:=False)
NewToolbar.Visible = True
Set NewButton = NewToolbar.Controls.Add(Type:=msoControlButton,
ID:=2950)
With NewButton
FaceId = 583
OnAction = "Macro name here"
Caption = "Macro description here"
End With


--
lcoreyl
------------------------------------------------------------------------
lcoreyl's Profile:
http://www.excelforum.com/member.php...fo&userid=2042
View this thread: http://www.excelforum.com/showthread...hreadid=557540





 
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
Assign Add-In to Custom Toolbar Button Microsoft Office 2007 britt_04 Excel Discussion (Misc queries) 1 October 13th 08 09:57 PM
make custom buttons for macros on quick access bar excel 2007 shieber Excel Discussion (Misc queries) 2 April 28th 08 03:57 PM
make custom buttons for macros on quick access bar excel 2007 shieber Excel Discussion (Misc queries) 0 April 28th 08 12:45 PM
Auto Create Custom Menu Buttons Shaker Excel Programming 2 February 15th 05 06:05 PM
custom toolbar buttons are saved where? Excel loads twice bymistake and all my custom toolbar buttons get gone!!! Kevin Waite Excel Programming 2 March 3rd 04 03:31 PM


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