1. Include the sheet name in the macro name e.g. Sheet3.g
2. Remove the ^ ( caret sign ) from the Shortcut key specification , since this is automatically included by Excel ; the shortcut key must be just a letter.
I see that you have not incorporated my first point ; can you do that and see ?
I am sorry but I did not mention that the macro shortcut keys will be CTRL SHIFT and the letter you have used in your code ; so when invoking the macro , you will have to press CTRL SHIFT Q.