我想寫一個程式 使F1 成為 Ctrl-C(copy or Ctrl-insert)... 但不知道 Keyboard Scan code... 有人能教我嗎
是不是這個意思 Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyF1 Then Text1.SelStart = 0 Text1.SelLength = Len(Text1.Text) SendKeys "^c" End If End Sub