+ Reply to Thread
Results 1 to 2 of 2

Disable Hotkeys

  1. #1
    Registered User
    Join Date
    03-25-2004
    Posts
    57

    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

  2. #2
    Dave Peterson
    Guest

    Re: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1