ryanqq / chewing

Automatically exported from code.google.com/p/chewing
0 stars 0 forks source link

數字鍵盤在 excel 無法使用 #519

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
請詳述重現問題的步驟
1. 在 excel 新增巨集auto_open,程式碼如下:
    Sub auto_open()
    '
    ' auto_open 巨集
    '
        For i = 1 To 4
        Application.OnKey "{" & 96 + i & "}", "'InputValue(" & i & ")'"
        Next i
    '
    End Sub

    Sub InputValue(n)
        ActiveCell.Value = n
        SendKeys "~"
    End Sub
2. 輸入中文時,可使用數字鍵盤輸入第一個數字
3. 接者 Num Lock 就不亮了
4. 按下 Num Lock 
後,再按下數字鍵盤,會出現主鍵盤對應的數字注音 
(1=ㄅ,2=ㄉ,…)

你預期的結果為何:看到數字
結果你看到什麼:注音符號

版本:看不到版本
作業系統:Windows 7 專業版 (64-bit)
Microsoft Office Home and Business 2013 (ver. 15.0.4605.1003)

Original issue reported on code.google.com by josh32...@gmail.com on 15 May 2014 at 3:29

Attachments: