ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   onkey (https://www.excelbanter.com/excel-programming/293175-onkey.html)

peter

onkey
 
Hi,
Can you disable a control c (copy) or control D (fill)
with something like...
Application.OnKey "^D", ""

The above doesn't seem to work.

peter

No Name

onkey
 
Hi,
Thanks anyway, I figured it out. The letter must be lower
case.

thanks again
peter

-----Original Message-----
Hi,
Can you disable a control c (copy) or control D (fill)
with something like...
Application.OnKey "^D", ""

The above doesn't seem to work.

peter
.


JE McGimpsey

onkey
 
Try

Application.OnKey "^d", ""

In article ,
"peter" wrote:

Hi,
Can you disable a control c (copy) or control D (fill)
with something like...
Application.OnKey "^D", ""

The above doesn't seem to work.

peter



All times are GMT +1. The time now is 11:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com