Article ID: 125810
Article Last Modified on 10/11/2006
APPLIES TO
- Microsoft Excel 97 Standard Edition
- Microsoft Excel 95 Standard Edition
- Microsoft Excel 5.0 Standard Edition
- Microsoft Excel 98 for Macintosh
This article was previously published under Q125810
SUMMARY
In Microsoft Excel, the Microsoft Visual Basic for Applications OnEntry
property or the Microsoft Excel 4.0 ON.ENTRY() macro function runs a macro
when data is entered in any cell on a specified worksheet. Note, however,
that you must first run the macro containing the OnEntry property or
ON.ENTRY() function in order for it to be effective.
To run the macro with the OnEntry property or ON.ENTRY() function, use the
appropriate procedure below to define an auto_open procedure or macro on
the specified worksheet. The auto_open procedure should contain either the
OnEntry property or the ON.ENTRY() function, and it should specify another
macro that will be run when you enter data on the worksheet.
REFERENCES
"Microsoft Excel Function Reference," version 4.0, page 302
Additional query words: 4.00a 5.00a 5.00c 7.00a XL98 XL97 XL7 XL5 XL4 XL
Keywords: kbdtacode kbhowto kbprogramming KB125810