The keyboard that came with my Dell 2320 does not have a Pause/Break key. I need to use Ctrl-Break for debugging VBA code.
Note: The Dell 2320 is not a laptop. It is an All-In-One desktop PC with a wireless USB keyboard.
I found the following at:
http://en.community.dell.com/suppor…
but my registry does not show a Scancode Map under Keyboard Layout so I can’t edit the values:
2) Explore the Registry, expanding each element HKEY_LOCAL_MACHINE -SYSTEM -Current Control Set - Control - Keyboard Layout Click on the Scancode Map, and EDIT the key values to match that shown below. i.e. to have values of : 00,00,00,00,00,00,00,00,02,00,00,00,46,e0,44,00,00,00,00,00 Once Done you will need to re-boot your laptop, but after that you can use <Ctrl><F10> as the pause/Break Key.
Any idea how to program a “substitute” Ctrl-Break sequence that VBA will recognize?
Thanks!
This site does a great job of explaining ” scancode sequences” and “escape sequences” and how the Ctrl key works. It even included the Scancode for <Ctrl><Break>: e0 46
http://www.win.tue.nl/~aeb/linux/kb…
With this Scancode Map value, F12 (with or without the Ctrl key) sends a <Ctrl><Break>:
00,00,00,00,00,00,00,00,02,00,00,00,58,e0,46,00,00,00,00,00
Thanks again.
Click Here Before Posting Data or VBA Code —> How To Post Data or Code.