+ Reply to Thread
Results 1 to 3 of 3

KeyUp event capture

  1. #1
    Registered User
    Join Date
    01-29-2013
    Location
    texas
    MS-Off Ver
    Excel 2010
    Posts
    68

    KeyUp event capture

    I'm try to capture the "Enter" (Return) key to trigger the cmdOK command.

    This code seems to captures every asc code except "Tab" and "Enter".
    Please Login or Register  to view this content.
    sugestions appreciated
    thanks

  2. #2
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: KeyUp event capture

    It returns to me in value 13.
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-29-2013
    Location
    texas
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: KeyUp event capture

    Thanks, I had to put the code in the keydown event to make it fire on an "enter" to accept the default value.
    Don't know why it didn't accept vbKeyReturn

    appreciate the help.

+ 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