Results 1 to 5 of 5
  1. #1
    data808 is offline Noob
    Windows 8 Access 2007
    Join Date
    Aug 2012
    Posts
    727

    Keycode

    I have a Dell keyboard at work and I am trying to find the keycode to the apostrophe/quotation key. I want to disable this when pushed with the ctrl key. I've searched online but could not find anything that shows that specific key. I only see apostrophe keys or quotation keys but not the combination of both which is what I have. Please help.

  2. #2
    Dal Jeanis is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Dallas TX
    Posts
    1,742
    On most keyboards, shift-single-quote makes a double-quote character. If you are trying to disable ctrl-single-quote and ctrl-shift-double-quote then you have two values to check for.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Bing: Access vba disable quote key
    http://ms-access.todaysummary.com/q_...ase_58958.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    data808 is offline Noob
    Windows 8 Access 2007
    Join Date
    Aug 2012
    Posts
    727
    I don't know but I did it the long way. I just wanted to know if anyone just knew the code off the top of their head. So I did a trial and error and found that the keycode I was looking for was:

    Keycode = 222

    This code covers the key that if pressed with shift, will give you a ["] and if you press it by itself, it will give you a ['].

    Ignore the brackets. I'm just surprised that no one had this info. And if they did, could not just tell me 222 was the keycode I needed.

    Thanks anyway guys.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    I did not know. Learn something new every day. Want to show the procedure code you are using?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Keycode for dash/underscore key
    By data808 in forum Access
    Replies: 2
    Last Post: 03-07-2014, 11:44 AM
  2. proper usage of keycode
    By crowegreg in forum Forms
    Replies: 9
    Last Post: 06-30-2012, 11:50 PM
  3. Keyboard not returning correct keycode
    By Toots in forum Programming
    Replies: 1
    Last Post: 04-14-2011, 10:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums