What's wrong with this code ??
When the user presses shift and "+" or shift and "-" then I want something to happen.
Code:Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyF11 Then Call sscmdMenu_Click If (Shift And vbShiftMask) > 0 Then If KeyCode = vbKeyAdd Then 'Do something End If If KeyCode = vbKeySubtract Then 'Do something End If End If End Sub




Reply With Quote