#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default 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
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
onkey method freekrill Excel Discussion (Misc queries) 1 October 12th 05 01:31 PM
Onkey vs Macro Short cut key rgarber50 Excel Discussion (Misc queries) 1 July 10th 05 07:34 PM
Onkey Method Fred Lambelet Excel Programming 3 January 23rd 04 05:20 AM
Onkey Error SuperJas Excel Programming 1 January 12th 04 02:57 AM
Onkey Jase Excel Programming 1 November 17th 03 11:07 PM


All times are GMT +1. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"