When I rename a module the keyboard shortcut stops working

C

cla99009

I've recorded a macro, and assigned it a shortcut key on recording. After
cleaning up the code, I rename the module to a more descriptive name, the
shortcut key stops working. Nothing happens when I press the
Ctrl+Shift+[Letter] combination.

Even if I try to reassign the shortcut using the (Alt+F8) macro dialogue
box, nothing works. All I get is the windows "Error" sound.

Am I doing something wrong that is breakting the connection. Can anyone
help me figure this out?
 
S

Susan

try copy & pasting the macro to Word or Notepad. delete the module
entirely. insert a new module, and copy & paste the macro back
again. now try Alt+F8 to assign a shortcut key.
hope it helps!
:)
susan
 
D

Dave Peterson

What did you name the module?
What did you name the macro?


I've recorded a macro, and assigned it a shortcut key on recording. After
cleaning up the code, I rename the module to a more descriptive name, the
shortcut key stops working. Nothing happens when I press the
Ctrl+Shift+[Letter] combination.

Even if I try to reassign the shortcut using the (Alt+F8) macro dialogue
box, nothing works. All I get is the windows "Error" sound.

Am I doing something wrong that is breakting the connection. Can anyone
help me figure this out?
 
C

cla99009

I think I finally figured it out. I've been giving the module the same name
as the macro it contains. I guess there's a confusion when tha happens. If
I assign different names, the shortcut keys still work.

Thanks for pointing me in the right direction.

Dave Peterson said:
What did you name the module?
What did you name the macro?


I've recorded a macro, and assigned it a shortcut key on recording. After
cleaning up the code, I rename the module to a more descriptive name, the
shortcut key stops working. Nothing happens when I press the
Ctrl+Shift+[Letter] combination.

Even if I try to reassign the shortcut using the (Alt+F8) macro dialogue
box, nothing works. All I get is the windows "Error" sound.

Am I doing something wrong that is breakting the connection. Can anyone
help me figure this out?
 

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

Top