Solved

creating a button to run a macro in excel

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

679 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