i used all the letters for CNTRL+SHIFT+letter how to write more macros?

Tody03

New Member
Joined
Jun 21, 2014
Messages
48
I am using a personal.xlsb and load it every time I run my project. I activate the macros by using cntrl-shift+letter. I have already more than 26 macros connected with the specific project. How can I write more new macros? And run them from the same personal.xlsb?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
You can trigger them with Command Buttons or you can trigger them by clicking on Alt + F8 and then selecting the appropriate Macro. When you use your method, you replace the keyboard shortcuts established by Microsoft.
 
Upvote 0
You dont need to assign all macros a shortcut. Also you dont need to use capital letters to assign a shortcut.
 
Upvote 0
create a userform menu with commandbuttons that allow the user to chooses a task
 
Upvote 0
Maybe you can work with something like this Select Case method from a drop down with "AA", "BB", "CC" as selectable items. (with three mini subs as a demo).
Copy to the sheet with the Drop Down in B2
The "AA" item/s could instead be a short description of what the macro does.

Howard


Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("B2")) Is Nothing Then

        Select Case Range("B2")

            Case "AA": Macro1
            Case "BB": Macro2
            Case "CC": Macro3

        End Select

    End If
End Sub

Sub Macro1()
MsgBox 1 & " " & "KIM"
End Sub

Sub Macro2()
MsgBox 2 & " " & "DOM"
End Sub
Sub Macro3()

MsgBox 3 & " " & "HOWARD"
End Sub
 
Upvote 0
Alt + F8 or create some Icons on the QAT for the most used macros.
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,030
Members
448,940
Latest member
mdusw

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