Consolidating Recorded Macros in Personal.xlsb into one Module.

RunTime91

Active Member
Joined
Aug 30, 2012
Messages
290
Office Version
  1. 365
Greetings All - Happy Friday!

Got a pesky one here - (at least for me it's pesky)

I have many recorded macros in my Personal.xlsb Workbook using (at least for now) keyboard shortcuts to trigger them

When I record these macros the Personalxlsb creates a new module to put it in; which is fine until I try to copy/paste the macro into just the first module in an attempt to consolidate.

Once copied the macro still works fine on step-through, but the keyboard shortcut doesn't???

Is there a way/technique to consolidate my macros so they are all in one place and all the keyboard shortcuts still work as well??

Thanks
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Copy all your Macros into the same Module:
Then put just that one Module in your Personal folder

Your combined module would look something like this:

Code:
Sub Hello()
MsgBox "Hello"
End Sub
Sub Goodbye()
MsgBox "Goodbye"
End Sub
Sub Go_Home()
MsgBox "Go Home"
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,155
Members
453,021
Latest member
Justyna P

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