#1   Report Post  
Posted to microsoft.public.excel.misc
freekrill
 
Posts: n/a
Default Disable Hotkeys


Hi,

I am looking for a way of disabling the close hotkey, ctrl + w.

In a previous post, it was suggested running the macro:

Application.onkey "^w", ""

would work, and it does, as long as you are not in Edit mode.

In edit mode, ctrl + w still gives you the close prompt. Is there any
way of disabling it completely?

Thanks for any help

free


--
freekrill
------------------------------------------------------------------------
freekrill's Profile: http://www.excelforum.com/member.php...fo&userid=7561
View this thread: http://www.excelforum.com/showthread...hreadid=487859

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Disable Hotkeys

I've never seen a meaningful macro run when in edit mode. So I don't think
you're going to find a macro solution.



freekrill wrote:

Hi,

I am looking for a way of disabling the close hotkey, ctrl + w.

In a previous post, it was suggested running the macro:

Application.onkey "^w", ""

would work, and it does, as long as you are not in Edit mode.

In edit mode, ctrl + w still gives you the close prompt. Is there any
way of disabling it completely?

Thanks for any help

free

--
freekrill
------------------------------------------------------------------------
freekrill's Profile: http://www.excelforum.com/member.php...fo&userid=7561
View this thread: http://www.excelforum.com/showthread...hreadid=487859


--

Dave Peterson
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
Disable Query Refresh warning dialog box in Excel 2003 Jeff Koons Excel Discussion (Misc queries) 2 December 1st 05 04:08 PM
Disable Customize toolber tabs areddy Excel Discussion (Misc queries) 1 October 21st 05 02:43 PM
Disable resize Waterfall chart Tim Charts and Charting in Excel 4 October 4th 05 10:46 PM
Disable Macros --> Close File [email protected] Setting up and Configuration of Excel 3 August 24th 05 10:22 PM
Disable Adding & Deleting Rows/Columns Playa Excel Discussion (Misc queries) 1 February 3rd 05 03:42 PM


All times are GMT +1. The time now is 02:17 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"