ms excel project

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
LVL 1
brianpowellAsked:
Who is Participating?
 
RobSampsonConnect With a Mentor Commented:
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
 
Saqib Husain, SyedConnect With a Mentor EngineerCommented:
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
 
brianpowellAuthor Commented:
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Saqib Husain, SyedEngineerCommented:
All proposed above is in excel; userform, excel sheet, menu ribbon. No external software.
0
 
brianpowellAuthor Commented:
thanks.
0
 
Saqib Husain, SyedEngineerCommented:
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
 
Saqib Husain, SyedEngineerCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.