PC Review


Reply
Thread Tools Rate Thread

Add Custom Button to Quick Access Toolbar

 
 
Randy
Guest
Posts: n/a
 
      11th Sep 2007
Can anyone tell me how to add a customized button to the Quick Access
Toolbar in Excel 2007 that will launch a macro? I'm not talking about
adding additional Microsoft-defined commands, but one of my own.

Thanks,
Randy

 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      11th Sep 2007
Hi Randy

You can see how I do it here
http://www.rondebruin.nl/qat2.htm




--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Randy" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Can anyone tell me how to add a customized button to the Quick Access
> Toolbar in Excel 2007 that will launch a macro? I'm not talking about
> adding additional Microsoft-defined commands, but one of my own.
>
> Thanks,
> Randy
>

 
Reply With Quote
 
Randy
Guest
Posts: n/a
 
      11th Sep 2007
Thanks, Ron. This is really helpful.

Randy

 
Reply With Quote
 
Randy
Guest
Posts: n/a
 
      12th Sep 2007
Ron,
I'm trying to modify this to fit exactly what I am doing. Let's start
at the beginning. Can you tell me how to simply add a button to the
QAT that will launch a macro (even if the macro is nothing more than
than the basic "Hello World" message box).

Thanks again.
Randy

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      12th Sep 2007
Hi Randy

Open a new workbook and save it

Copy this macro in a normal module
http://www.rondebruin.nl/code.htm

Sub test()
MsgBox "Hello Randy"
End Sub

Right click on the QAT and choose Customize Quick Access Toolbar
In the "Choose commands from" dropdown choose Macros and in the Customize Quick Access Toolbar dropdown choose
"YourworkbookName.xlsm"

Select the "test" macro and press Add and then OK.
You can use Modify to change the icon if you want. Then press OK and save the file.

Note : You only have to do this one time because the button is saved with the workbook.
If you send the file to other users they can use your button on the QAT.

See the screenshots on my ribbon page (number 3)




--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Randy" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Ron,
> I'm trying to modify this to fit exactly what I am doing. Let's start
> at the beginning. Can you tell me how to simply add a button to the
> QAT that will launch a macro (even if the macro is nothing more than
> than the basic "Hello World" message box).
>
> Thanks again.
> Randy
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy way to add my custom button on Excel 2010 quick access toolbar? Chet Microsoft Excel Programming 3 7th Apr 2010 03:16 PM
Easy way to add my custom button on Excel 2010 quick access toolbar? Chet Microsoft Excel Misc 0 5th Apr 2010 10:21 PM
Button in quick access toolbar Tigerxxx Microsoft Excel Misc 1 11th May 2009 05:20 PM
The ADD button in my quick access toolbar is missing Feather38 Microsoft Word Document Management 0 26th Oct 2008 03:32 PM
custom symbol quick access toolbar =?Utf-8?B?Tmlja04=?= Microsoft Word Document Management 1 23rd Dec 2006 05:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:40 PM.