Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

microsoft excel 2003 vba courses - macros

Forum home » Delegate support and help forum » Microsoft Excel Training and help » microsoft excel 2003 vba courses - Macros

microsoft excel 2003 vba courses - Macros

ResolvedVersion Standard

Kate has attended:
Excel Advanced course

Macros

How do I create a macro button that sits in a cell on the spreadsheet and not in the toolbar?

RE: Macros

Hi Kate, Thank you for your post, in answer to your question follow these steps:
Create your macro in the normal way, once the macro is created and named you can assign it to a button. To create the button open the Forms toolbar, View, Toolbars, Forms. On the Forms toolbar you will see the Command Button, click on the Button and draw a rectangle on the worksheet, immediatly you do so a dialog box will open asking for a macro to assign, click on the macro name of your choice. The macro is now assigned to the new button, with the button selected, (right click) you can change the default name to one of your choice, and format the text if you wish. Now by clicking on a target cell and then on the button the macro will run. I hope that is useful to you, regards Pete.

Excel tip:

Page Break Preview in Excel 2010 (Hint/tip)

If you select View then Workbook Views then Page Break Preview, you will be able to view how your Excel spreadsheet will be split across multiple pages when printed. Even better, you can also drag a page break to a new place. Excel will then scale down your entire worksheet to fit the information you want on the pages you want.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.