Solved

creating a button to run a macro in excel

Posted on 2007-04-10
3
180 Views
Last Modified: 2013-12-25
I have an excel spreadseet that I am creating VB code for to run macros.  How do I create a button on the spreadsheet itself that will run the macro.
0
Comment
Question by:josephdaviskcrm
3 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 100 total points
ID: 18882376
Select View->Toolbars from the menu, choose the Forms toolbar, then select the button control from there.
HTH
Rory
0
 
LVL 13

Assisted Solution

by:nike_golf
nike_golf earned 75 total points
ID: 18882386
0
 
LVL 27

Assisted Solution

by:VBRocks
VBRocks earned 75 total points
ID: 18884048
Here's a really good link, if you want to actually add a button on the Spreadsheet itself:

http://www.mrexcel.com/tip068.shtml

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question