It took me a small while to figure out why your AutoHotkey script does not work with me: Use backslash instead of backtick (yes, I am a C++ programmer).
For instance, if you want Ctrl+G to execute the macro, then enter a G in the Shortcut Key area. In the Shortcut Key area, indicate the key you want used with the Ctrl key as your shortcut.Excel displays the Macro Options dialog box. From the list of available macros, select the PasteVal macro you just created.Press Alt+F8 to display the Macro dialog box.
For instance, create the following simple macro:
If you want a shorter keyboard shortcut, the best way to do it is to create a macro that does the pasting for you, and then make sure that you assign a keyboard shortcut to the macro. This sequence selects the menus and dialog box options necessary to paste values. If you don't want to use the mouse to paste values, then you can use the tried-and-true keyboard sequence to paste values: Alt+E, S, V, Enter. Now, whenever you want to paste just the values, you can click on the new toolbar button.
When you release the mouse button, the new icon appears on the toolbar. Use the mouse to drag the Paste Values command from the Commands list to its new location on the toolbar.In the list of Commands, select Paste Values.In the list of Categories, select the Edit category.The Commands tab of the Customize dialog box. Make sure the Commands tab is selected.All you need to do is follow these steps: One way is to just create a toolbar button that pastes values for you. Since pasting only values in this manner is used so often, you might think that Microsoft would provide a shortcut key to, well, just paste values. On the Paste Special dialog box, the Values selection is undoubtedly the one used the most. One of the most often-used commands in Excel is the Paste Special option from the Edit menu, where you can figure out exactly how you want information pasted into a worksheet.