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