Consolidating Recorded Macros in Personal.xlsb into one Module.

RunTime91

Active Member
Joined
Aug 30, 2012
Messages
277
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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
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,215,745
Messages
6,126,636
Members
449,324
Latest member
AmirMalik

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