+ Reply to Thread
Results 1 to 3 of 3

Application.OnKey

  1. #1
    Kevin H. Stecyk
    Guest

    Application.OnKey

    Hi,

    If I set Application.OnKey during opening of the workbook:

    Application.OnKey "+^T", "DoMyStuff"

    I suspect that I should somehow cancel it when the workbook closes. How do
    I accomplish that?

    Your guidance is appreciated.

    Regards,
    Kevin



  2. #2
    Forum Contributor
    Join Date
    09-05-2004
    Location
    Melbourne
    Posts
    193
    To cancel your onkey add this line of code

    Application.OnKey "+^T"

    Cheers!

  3. #3
    Norman Jones
    Guest

    Re: Application.OnKey

    Hi Kevin,

    Try:

    Application.OnKey "+^T", ""


    ---
    Regards,
    Norman



    "Kevin H. Stecyk" <[email protected]> wrote in message
    news:%[email protected]...
    > Hi,
    >
    > If I set Application.OnKey during opening of the workbook:
    >
    > Application.OnKey "+^T", "DoMyStuff"
    >
    > I suspect that I should somehow cancel it when the workbook closes. How
    > do I accomplish that?
    >
    > Your guidance is appreciated.
    >
    > Regards,
    > Kevin
    >




+ 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