XL98: Macros to Disable Keyboard Input (191111)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q191111 SUMMARY
In Microsoft Excel 98 Macintosh Edition, to disable all the keys on the
keyboard, set the Microsoft Visual Basic for Applications DataEntryMode
property or use the Microsoft Excel 4.0 macro ENTER.DATA() function.
Note that you can also disable keys on the keyboard with the ON.KEY()
function, but this function will not allow you to disable keys such as the
SPACEBAR or the PLUS SIGN (+).
REFERENCES
For more information about the OnKey method, from the Visual Basic Editor,
click the Office Assistant, type onkey, click Search, and then click to
view "OnKey Method."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If the Assistant is not able to answer your query, please
see the following article in the Microsoft Knowledge Base:
176476 OFF: Office Assistant Not Answering Visual Basic Questions
Modification Type: | Major | Last Reviewed: | 6/17/2005 |
---|
Keywords: | kbhowto KB191111 |
---|
|