macro buttons within worksheet

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

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Macro buttons within a worksheet

Macro buttons within a worksheet

resolvedResolved · High Priority · Version 2003

Helen has attended:
Excel Advanced course
Access Advanced course

Macro buttons within a worksheet

How do you create a button and assign it to run an existing macro?

RE: Macro buttons within a worksheet

Hi Helen

Thank you for your question.

To create a button on your spreadsheet, bring up the Forms toolbar on your screen. Locate the Button icon and click it once. Then bring your cursor onto your spreadsheet, hold down your left mouse and drag diagonally to draw the button onto your spreadsheet.

The Assign Macro dialogue box should appear on your screen. Select the macro you wish to link to the button and click OK.

Finally the button will display the default text 'Button 1'. Highlight the text 'Button 1' using your mouse and type over it to replace the default text with the text you want displayed on the button.

I hope this helps.
Amanda

Wed 14 Jan 2009: Automatically marked as resolved.


 

Excel tip:

Generate randon numbers

Some types of analysis require you to use randomly generated numbers. You can also use randomly generated numbers to quickly populate an Excel spreadsheet. There's an easy function you can use to do this automatically. Here are a few of the ways you can use it:

Type =RAND() in a cell to generate a number between 0 and 1.
Type =RAND()*100 to generate a number between 1 and 100.

View all Excel hints and tips


Server loaded in 0.08 secs.