Results 1 to 2 of 2
  1. #1
    armm1388 is offline Novice
    Windows XP Access 2003
    Join Date
    May 2011
    Posts
    2

    Exclamation how Disable ctrl + dot(.) in access

    Hi
    How is it possible to Disable ctrl + dot(.) in access?
    The below code accepts code of all keys but don’t work for dot(.) :
    Private Sub Combo3_KeyDown(KeyCode As Integer, Shift As Integer)
    If Shift = 2 Then
    Select Case KeyCode
    Case Asc(".")


    KeyCode = 0
    End Select

    End Sub


    Thanks very much

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,535
    Hi armm1388

    You could try the code below. It works for me.

    Code:
     
    Private Sub Combo3_KeyDown(KeyCode As Integer, Shift As Integer)
    If Shift = 2 Then
    Select Case KeyCode
    Case 110
    KeyCode = 0
    Case 190
    KeyCode = 0
    End Select
    End If
    End Sub
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Replies: 15
    Last Post: 04-11-2015, 08:15 AM
  2. Disable/Hide Quick Access Toolbar
    By Jackal in forum Security
    Replies: 10
    Last Post: 11-22-2012, 05:25 PM
  3. CTRL +' Short Cut Key
    By desireemm1 in forum Access
    Replies: 2
    Last Post: 09-10-2009, 03:25 PM
  4. Bypassing Startup options with Ctrl W
    By rayc in forum Security
    Replies: 0
    Last Post: 09-06-2006, 09:18 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