Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Button for a Macro

0 views
Skip to first unread message

Gary''s Student

unread,
Nov 21, 2009, 8:26:01 AM11/21/09
to
Excel 2007

is it possible to put something on the Quick Access Toolbar that will allow
me to run a macro with one click?
--
Gary''s Student - gsnu2007xx

Mike H

unread,
Nov 21, 2009, 8:55:01 AM11/21/09
to
Try this

Right click the QA Toolbar and select Customise.
From the left dropdown choose 'Macros' and scroll to your macro and then
click ADD
On the right click modify and from the popup select an Icon
OK

Mike

JLatham

unread,
Nov 21, 2009, 9:00:01 AM11/21/09
to
Yes.
Click the drop-down arrow at the right edge of the QAT and choose "More
Commands".
That'll take you to a probably familiar looking window where you can choose
"Macros" in the "Choose commands from:" area. That'll give you a list of
macros to choose from. The macro icon will be a flowchart kind of icon.
Hovering over the icon will show the macro's name as a tip eventually.

Jacob Skaria

unread,
Nov 21, 2009, 9:01:01 AM11/21/09
to
Click on 'Customize QAT'>More commands>select 'Macros' from 'Choose commands
from' drop down will populate any available macros. Select the macro and
click Add will add an icon in QAT.

If this post helps click Yes
---------------
Jacob Skaria

Gary''s Student

unread,
Nov 21, 2009, 9:04:01 AM11/21/09
to
Thanks!
--
Gary''s Student - gsnu200909

JLatham

unread,
Nov 21, 2009, 9:04:04 AM11/21/09
to
I should have added that it's probably best to have the macro in your
Personal file, since that icon is going to become a somewhat permanent
addition to the QAT. You have to go through the same Customize process, but
explicitly choose to remove the icon to get rid of it.

Gary''s Student

unread,
Nov 21, 2009, 9:03:01 AM11/21/09
to
Thanks!
--
Gary''s Student - gsnu200909

Peter T

unread,
Nov 21, 2009, 12:43:33 PM11/21/09
to
Just to add, if the macro should only be available in a particular workbook,
when adding to the QAT (as others have described) in the top right dropdown
select "For myBook.xlsm". The button will only appear when myBook is
active.

However, due to a bug introduced in SP2, when the file is closed & reopened
the button will no longer appear. Ron de Bruin describes how to fix here -
http://www.rondebruin.nl/qatbuttonbug.htm

Regards,
Peter T


"JLatham" <JLa...@discussions.microsoft.com> wrote in message
news:4426EDEE-A29C-4A9E...@microsoft.com...

JLatham

unread,
Nov 21, 2009, 2:13:01 PM11/21/09
to
You're welcome.

Also, if you haven't seen it, you should check out Peter T's response to my
second post in the thread. Has some good added information about managing
that added button:
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.excel.programming&mid=181ceb17-e4ae-4b3a-8150-b54ebf267a9a

JLatham

unread,
Nov 21, 2009, 2:35:03 PM11/21/09
to
Thanks for the added information, ends up making things work a lot better in
the end.


"Peter T" wrote:

> .
>

0 new messages