Find Keyboard shortcut in a macro

  • Thread starter Thread starter AuthorizedUserPF
  • Start date Start date
A

AuthorizedUserPF

Good afternoon;
I have a slight problem with the Copy and Paste keyboard shortcut on my work
computer. It seems that after a couple of "cntrl copy" and "cntrl paste"
operations on a spreadsheet, Excel wants to paste an image of the
spreadsheet in the cell rather then the cell values or formula to be pasted.
I was told earlier that one of my macros may be using the "cntrl paste"
shortcut on the keyboard to perform another function. I have almost 200
macros.
Is there an easy way to identify the shortcut key that may have been set-up
in a macro. I avoid using shortcut keys in my macros always, but somehow,
the copy paste shortcut must have become associated with one of them.

Thanks
Phil
 
Hi Phil,

To reset the Excel Shortcuts to their original functions, just start a new code module and run these lines of code:

------------------------------
Sub Reset()

Application.Onkey "^c", ""
Application.Onkey "^v", ""

End Sub
 
AuthorizedUserPF said:
Good afternoon;
I have a slight problem with the Copy and Paste keyboard shortcut on my work
computer. It seems that after a couple of "cntrl copy" and "cntrl paste"
operations on a spreadsheet, Excel wants to paste an image of the
spreadsheet in the cell rather then the cell values or formula to be pasted.
I was told earlier that one of my macros may be using the "cntrl paste"
shortcut on the keyboard to perform another function. I have almost 200
macros.
Is there an easy way to identify the shortcut key that may have been set-up
in a macro. I avoid using shortcut keys in my macros always, but somehow,
the copy paste shortcut must have become associated with one of them.

Thanks
Phil


Hi Phil
Try this addin that will list the Short cut keys for Macros

http://www.xcelfiles.com/GetShortCutKeys.html
 
Thanks will do.
SuperJas said:
Hi Phil,

To reset the Excel Shortcuts to their original functions, just start a new
code module and run these lines of code:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top