Results 1 to 8 of 8

Keyboard keys are not working after running macro

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-24-2005
    Location
    excelliot.com
    MS-Off Ver
    2007
    Posts
    325

    Thumbs up Keyboard keys are not working after running macro

    I used keypress code in one of forms, after running following command non of my keyboard is working in excel. when i am restarting excel everything is fine. what could be the reason?

    Private Sub ListBox_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
        If KeyAscii = 13 Then
        ......some code here for fetching data from list box
        End if
    End Sub
    Thanks
    Last edited by excelliot; 07-24-2014 at 06:13 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Disable mouse and keyboard while running a macro - mac
    By tartampion in forum Excel General
    Replies: 0
    Last Post: 05-17-2012, 07:56 PM
  2. Disabling Custom Keyboard Keys
    By Drgenetix in forum Excel General
    Replies: 3
    Last Post: 06-05-2011, 05:40 AM
  3. Macro Not Running Via Shortcut Keys
    By ashleyhkim in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-10-2010, 09:50 PM
  4. Keyboard arrow keys
    By Rich in forum Excel General
    Replies: 2
    Last Post: 01-25-2006, 07:10 AM
  5. [SOLVED] How can a macro accept keyboard inputwhile running?
    By WillyNPG in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2005, 09:20 AM

Tags for this Thread

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