How to identify changed cell
Posted by JAF on October 20, 2000 6:12 AM
I have a large spreadsheet (24 columns and up to 5000) rows in which I need to stop the people who will be updating it from entering a space character (or characters).
Some people who will be updating the spreadsheet do not have a particularly high level of Excel knowledge, and have been known in the past to input space characters in order to "delete" cell contents - going on the basis that if they can't see any text in the cell then it must be empty!
What I want to do is to put in a Worksheet_Change command to prevent this, but I need to know how to identify the cell that was last changed. - Any suggestions as to how I can do this.
Unfortunately it's not just a simple matter, as these users enter data in a variety of ways - some use tab (which moves the activecell one cell to the right, some use Return which moves the activecell one cell down and others click in another cell in order to accept their input.
I can't use Data Validation, as this is already used for some other settings.
Help!!!!!
JAF