Pop Up Menu with multiple macro buttons

shindig54

New Member
Joined
Dec 12, 2014
Messages
42
Hello,

I have built a planning model that has quite a few macros that move around, display, hide, and consolidate budget data. In order to make it easier for the user to navigate the macros, I have created command buttons but there are so many. I was wondering if there is a way to create a "switchboard" or some kind of menu that pops and shows all the macro buttons so they are not taking up real estate on the actual spreadsheet.

Thanks so much,
Shin
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

NoSparks

Well-known Member
Joined
Mar 15, 2013
Messages
1,439
Office Version
  1. 2010
Platform
  1. Windows
I would put all the macro buttons on a user form and use a single button or key combination to show that user form.
 

tonyyy

Well-known Member
Joined
Jun 24, 2015
Messages
1,784
Office Version
  1. 2010
Platform
  1. Windows
Another approach would be to use an InputBox...

Code:
Sub ChooseMacro()
Dim answer As Long
answer = Application.InputBox(prompt:="1 - Macro01" & vbCrLf & "2 - Macro02", Type:=1, Title:="Please enter a number:")
If answer = 1 Then
    MsgBox "Call Macro01"
ElseIf answer = 2 Then
    MsgBox "Call Macro02"
End If
End Sub

Cheers,

tonyyy
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,838
Messages
5,833,921
Members
430,244
Latest member
Ireland1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top