Article ID: 191111
Article Last Modified on 6/17/2005
' Macro to turn off keyboard entry.
Sub KeyboardOff()
' Sets CTRL+D to activate KeyboardOn.
Application.OnKey "^d", "KeyboardOn"
Application.DataEntryMode = True
End Sub
' Macro to restore keyboard entry.
Sub KeyboardOn()
Application.DataEntryMode = False
End Sub
A1: =ON.KEY("^d","DataEntryOff")
A2: =ENTER.DATA(2)
A3: =RETURN()
A4:
A5: DataEntryOff
A6: =ENTER.DATA(FALSE)
A7: =RETURN()
The function ENTER.DATA() turns on Data Entry mode and allows you to
enter data into unlocked cells. This function does not allow you to
enter data into locked cells on the worksheet.
176476 OFF: Office Assistant Not Answering Visual Basic Questions
Additional query words: XL98
Keywords: kbhowto KB191111