Solved

ms excel project

Posted on 2013-12-17
9
328 Views
Last Modified: 2014-01-02
I need to run multiple different macro's from one interface.  Can I create a 'form' and list the different macro's?  

e.g. macro box 1 includes:  A. list all customers.macro   B. list top ten customers in 2009 and 2013.macro  C. Run customer report.macro
0
Comment
Question by:brianpowell
  • 4
  • 2
9 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 200 total points
ID: 39726100
Yes, you can. Create a userform and put some buttons on it. Behind each button, put a line of code that reads
Application.Run "MacroName"

Regards,

Rob.
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 200 total points
ID: 39726244
If you like, you can also put three buttons directly on the spreadsheet and use them from there.

You can also create a menu item in the ribbon for your macros and include your macros in that ribbon item. I think you can also have the ability to add the menu item shown only when that workbook is opened and removed when the worksheet is closed.
0
 
LVL 1

Author Comment

by:brianpowell
ID: 39726435
I need to be able to do this within excel.... and not through any .net or visual studio functionality.

Sounds like a start.  I can create this userform within excel?
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39726443
All proposed above is in excel; userform, excel sheet, menu ribbon. No external software.
0
 
LVL 1

Author Comment

by:brianpowell
ID: 39726447
thanks.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39726485
Hello  brianpowell,

Please bear in mind that there were two contributors to this. The first response was directly related to the question. The second response was an additional suggestion. The third was merely a confirmation to the follow up question.

You should award points to the first response which directly addresses your question. If you find any of the others of some value then you should give "some" assist points to them.

Considering the grading system, a grade C is given when the response is such that considerable work has to done on the part of the asker to reach the final goal. But then that is applicable to questions which have provided sufficient detail. Based on the given question no detail has been provided or requested. The response provided addresses the question fully and deserves an A grade.

Please reopen the question and reallocate the points and grade.

Saqib
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39731741
I still maintain my stance. It should have been a grade A from what the question was. There was nothing more that could have been provided based on the information in the question on in the followup.
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

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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.

896 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

12 Experts available now in Live!

Get 1:1 Help Now