PC Review


Reply
Thread Tools Rate Thread

Button for a Macro

 
 
Gary''s Student
Guest
Posts: n/a
 
      21st Nov 2009
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
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      21st Nov 2009
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

"Gary''s Student" wrote:

> 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

 
Reply With Quote
 
JLatham
Guest
Posts: n/a
 
      21st Nov 2009
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.

"Gary''s Student" wrote:

> 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

 
Reply With Quote
 
Jacob Skaria
Guest
Posts: n/a
 
      21st Nov 2009
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" wrote:

> 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

 
Reply With Quote
 
Gary''s Student
Guest
Posts: n/a
 
      21st Nov 2009
Thanks!
--
Gary''s Student - gsnu200909


"Mike H" wrote:

> 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
>
> "Gary''s Student" wrote:
>
> > 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

 
Reply With Quote
 
Gary''s Student
Guest
Posts: n/a
 
      21st Nov 2009
Thanks!
--
Gary''s Student - gsnu200909


"JLatham" wrote:

> 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.
>
> "Gary''s Student" wrote:
>
> > 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

 
Reply With Quote
 
JLatham
Guest
Posts: n/a
 
      21st Nov 2009
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" wrote:

> 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

 
Reply With Quote
 
Peter T
Guest
Posts: n/a
 
      21st Nov 2009
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" <(E-Mail Removed)> wrote in message
news:4426EDEE-A29C-4A9E-9829-(E-Mail Removed)...
>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" wrote:
>
>> 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



 
Reply With Quote
 
JLatham
Guest
Posts: n/a
 
      21st Nov 2009
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/comm...0-b54ebf267a9a


"Gary''s Student" wrote:

> Thanks!
> --
> Gary''s Student - gsnu200909
>
>
> "JLatham" wrote:
>
> > 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.
> >
> > "Gary''s Student" wrote:
> >
> > > 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

 
Reply With Quote
 
JLatham
Guest
Posts: n/a
 
      21st Nov 2009
Thanks for the added information, ends up making things work a lot better in
the end.


"Peter T" wrote:

> 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" <(E-Mail Removed)> wrote in message
> news:4426EDEE-A29C-4A9E-9829-(E-Mail Removed)...
> >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" wrote:
> >
> >> 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

>
>
> .
>

 
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
Stop running macro button, like Ctrl-Break button h2fcell Microsoft Excel Programming 8 23rd Jan 2009 04:01 PM
Re: Stop running macro button, like Ctrl-Break button Dave Peterson Microsoft Excel Programming 1 22nd Jan 2009 05:23 PM
Re: Stop running macro button, like Ctrl-Break button Ronald R. Dodge, Jr. Microsoft Excel Programming 0 22nd Jan 2009 04:59 PM
Pause macro, add form button to sheet, continue macro when button clicked! Flystar Microsoft Excel Programming 1 26th May 2004 09:45 AM
How to end macro on inital active worksheet containing macro button that was clicked =?Utf-8?B?U2lsdmVyaGF3azE=?= Microsoft Excel Programming 2 14th May 2004 03:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:44 PM.