Code: Select Case KeyCode Case vbKeyRight: keyascii = 0 End Select I want to disable the RIGHT arrow button
Select Case KeyCode Case vbKeyRight: keyascii = 0 End Select
NXSupport - Your one-stop source for computer help
Drop the ":" from it, it should then work. Only Java and C need that.
Are you sure you don't want this?... Code: Select Case KeyCode Case vbKeyRight: KeyCode = 0 End Select (Swapped 'keyascii' for 'KeyCode')
Select Case KeyCode Case vbKeyRight: KeyCode = 0 End Select
Harry. "From one thing, know ten thousand things."
thanks guys
Forum Rules