Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Disable control down (cntl D) on a worksheet

Can you please help me with some code that can be entered into
a worksheet to "disable" a user doing a fill down with "control D".
It may be helpful to just disable control "a" to "z" so as to keep
control pageup/down still in operation.

I suspect it would go into the following private sub
Worksheet_Change(ByVal target As Excel.Range)


Thanks for your help.
Tony.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Disable control down (cntl D) on a worksheet

Look in Excel VBA help for the onkey command.

Change fires on each edit of a cell - there is probably a better event that
will fire less often and still accomplish what you want.

--
Regards,
Tom Ogilvy

"mcpheat" wrote in message
...
Can you please help me with some code that can be entered into
a worksheet to "disable" a user doing a fill down with "control D".
It may be helpful to just disable control "a" to "z" so as to keep
control pageup/down still in operation.

I suspect it would go into the following private sub
Worksheet_Change(ByVal target As Excel.Range)


Thanks for your help.
Tony.




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
Cntl Key move/select to change in value Bart Fay Excel Discussion (Misc queries) 0 May 11th 10 09:26 PM
Disable and enable dropdown combobox(Form Control) Vinod[_2_] Excel Discussion (Misc queries) 0 November 6th 07 07:30 PM
cntl+f does not find data that I can see in chart mathew New Users to Excel 2 August 9th 06 10:34 PM
How do I disable the ActiveX Control prompt? Keith Excel Discussion (Misc queries) 0 May 18th 05 09:58 AM
Disable Control s Dave[_18_] Excel Programming 0 July 17th 03 05:59 PM


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

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

About Us

"It's about Microsoft Excel"