macro button
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Macro button

Macro button

resolvedResolved · Urgent Priority · Version Standard

replyReply Tue 1 Apr 2008, 10:54Delegate Nick said...

Nick has attended:
Access Introduction course

Macro button


I have written several macros and I am using quick key's to run the macros, I would like to be able to use a button on the excel toolbar to run the macro instead. Can you please tell me how to add a button to a macro?

Cheers
NICK

For upcoming training course dates see: Pricing & availability

replyReply Tue 1 Apr 2008, 12:13Trainer Rich said...

RE: Macro button

Hi Nick,

Go to Tools -> Customise -> Commands tab.

In the categories list box, scroll down and select Macros. Then, in the 'commands' box, click and drag the 'custom button' onto any toolbar you like, then release the mouse button.

Don't close down the 'customise' dialogue box just yet - it needs to remain open for the next step.

Right-click the new button and choose Assign Macro. Then follow the dialogue box instructions to select your Macro and other options.

You can also change the button's icon by right-clicking the button -> Change Button Image.

Repeat the above procedure for any additional buttons you want to create (eg. if you have more than one macro).

Then close the 'Customise' dialogue box.

This will now allow you to press the newly created button whenever you want to run the Macro.

I hope this answers your question.

Regards, Rich

replyReply Tue 1 Apr 2008, 12:23Delegate Nick said...

RE: Macro button

Thanks for the prompt reply Rich - much appreciated!

 

Please browse our web site to find out more about
excel one day course london and other Microsoft training courses.

Excel tip:

Sorting List Subtotals

If you find that you would prefer to show the items in a subtotalled list in a different order, eg ascending rather than descending, you can sort your list. To sort a subtotalled list, hide the detail rows and then sort the subtotal rows. When you sort a subtotalled list, the hidden detail rows are automatically moved with the subtotal rows.
IMPORTANT: If you do not hide the details rows before sorting a subtotalled list, your subtotals will be removed and all of the rows in your list will be reordered.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard