Solved

creating a button to run a macro in excel

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

920 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

14 Experts available now in Live!

Get 1:1 Help Now