To validate text entries:
1. Select a range of cells.
2. Select Data -> Data Validation (in Data Tools Group).
3. Select Settings -> Allow -> Custom.
4. In the Formula box, enter the following formula:
where A1 is the first cell in the range.
5. Click OK.
Screenshot // Validating Text Entries in Excel 2007
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.