Solved

ms excel project

Posted on 2013-12-17
9
333 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
Back Up Your Microsoft Windows Server®

Back up 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

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

This collection of functions covers all the normal rounding methods of just about any numeric value.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

825 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