Pop Up Menu with multiple macro buttons

shindig54

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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
I would put all the macro buttons on a user form and use a single button or key combination to show that user form.
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,219
Members
449,075
Latest member
staticfluids

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