+ Reply to Thread
Results 1 to 3 of 3

Application.OnKey only in specific sheet

  1. #1
    Registered User
    Join Date
    04-11-2013
    Location
    Serbia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Application.OnKey only in specific sheet

    Hope you can help.

    I use Application.OnKey to trigger macro_1 by hitting only one key ( key "e"). Macro_1 is on Sheet1. I need a code that can help me assign also key "e" to trigger macro_2 on Sheet2 in the same workbook. Is it possible?

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Application.OnKey only in specific sheet

    hi ZeljkoN, option, please check attachment, press "e" on each sheet
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    04-11-2013
    Location
    Serbia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Application.OnKey only in specific sheet

    Applied it to my file and it works like a charm! watersev, thanks a lot!

+ 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