Solved

creating a button to run a macro in excel

Posted on 2007-04-10
3
177 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now