Pop Up Menu with multiple macro buttons

shindig54

New Member
Joined
Dec 12, 2014
Messages
33
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

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

NoSparks

Well-known Member
Joined
Mar 15, 2013
Messages
1,051
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,647
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
 

Watch MrExcel Video

Forum statistics

Threads
1,130,346
Messages
5,641,598
Members
417,225
Latest member
LukiiMaxim96

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