LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 151
Default OnKey query

Hi Folks

I know you can use Application.OnKey "^c","" to disable the Ctrl C copy
shortcut.

I'd like to be able to disable the Ctrl Break that interrupts code execution.

I've tried the following line of code in the Workbook Open event, but it
doesn't seem to work, although no errors occur.

Application.OnKey "^{BREAK}",""

Many thanks in Advance
 
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 help wardy Excel Programming 0 July 20th 04 05:49 PM
onkey peter Excel Programming 2 March 2nd 04 07:34 PM
Onkey Method Fred Lambelet Excel Programming 3 January 23rd 04 05:20 AM
Onkey Jase Excel Programming 1 November 17th 03 11:07 PM


All times are GMT +1. The time now is 07:27 AM.

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"