OnKey ctrl+shift+numpad

silverflurri

New Member
Joined
May 21, 2015
Messages
1
So I'd like to assign a simple macro to ctrl+shift+numpad1. This is what I have:

Code:
Application.OnKey "^+{97}", "YellowHighlight" 'ctrl+numpad1

The problem is my keyboard defaults to 'end' and doesn't execute the script. Which I think is because 'end' is the default shortcut built into windows 7. I'm running into the same problem with all the numpad keys, using shift+ctrl they all default to arrow/pgup/pgdo/or nothing happens. Note: numpad on or off doesn't help, would like to keep both ctrl+shift.

Is there any work-around for this in vb or easy fix under windows settings? Or do I have to go into the registry?
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,196,205
Messages
6,014,002
Members
441,802
Latest member
Aneurysm

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top