I have recorded a macro that I have stored in the personal.xlsb file. It is assigned to a module in the personal.xlsb file with the shortcut key ctrl+shift+q that makes it run.
When I close the personal.xlsb workbook and save the changes, I try and run that same shortcut key in another workbook and it doesn't seem to work. I'm trying to apply this same shortcut key macro to any excel workbook I open.
Here is my code.
Sub SelectAllUnmerge()
'
' SelectAllUnmerge Macro
'
' Keyboard Shortcut: Ctrl+Shift+Q
'
ActiveSheet.Cells.Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
ActiveSheet.Cells.Select
Selection.Copy
End Sub
Any suggestions?
When I close the personal.xlsb workbook and save the changes, I try and run that same shortcut key in another workbook and it doesn't seem to work. I'm trying to apply this same shortcut key macro to any excel workbook I open.
Here is my code.
Sub SelectAllUnmerge()
'
' SelectAllUnmerge Macro
'
' Keyboard Shortcut: Ctrl+Shift+Q
'
ActiveSheet.Cells.Select
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlBottom
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
ActiveSheet.Cells.Select
Selection.Copy
End Sub
Any suggestions?