Skip to main content

Easily prevent special or certain characters from being typed in cells

Author: Sun Last Modified: 2024-11-14

Kutools for Excel

Boosts Excel With 300+
Powerful Features

In Excel working, have you ever tried to only prevent any special characters “$!@#...” from being typed in a range of cells? Or prevent some certain characters such as “abcd” only? Perhaps, you can apply some complex formulas with Data Validation function to solve it, however, if you have Kutools for Excel, you can easily forbid to type in any special characters or some certain characters in specified ranges by its Prevent Typing feature.

Prevent typing in any special characters

Prevent typing in certain characters


Click Kutools >> Prevent Typing >> Prevent Typing. See screenshot:

shot prevent special characters typing 1 shot arrow right shot prevent special characters typing 2

Prevent typing in any special characters

To prevent typing special characters in a selection, please do as below:

1. Select a column or a range of cells which you want to prevent special characters from being typed in.

2. Click Kutools > Prevent Typing > Prevent Typing. See screenshot:
shot prevent special characters typing 8

3. In the popping Prevent Typing dialog, check Prevent type in special characters option. See screenshot:
shot prevent special characters typing 4

4. Click Ok, a dialog pops out to remind you that it will remove data validation if you want to continue this utility. See screenshot:
shot prevent special characters typing 5

5. Click Yes to continue, and another dialog pops out to show which cells have been prevented special characters entered. See screenshot:
shot prevent special characters typing 6

6. Click OK to close the dialog. From now on, it will pop a dialog to warn you while you are entering any one of special characters within the selection.
shot prevent special characters typing 7


Prevent typing in certain characters

If you want to prevent typing in some certain characters, please do as this:

1. Select a range of cells or a column that you want to prevent some characters from being entered.

2. Click Kutools > Prevent Typing > Prevent Typing. See screenshot:
shot prevent special characters typing 8

3. In the Prevent Typing dialog, check Prevent type in these chars option, and then enter the characters you want to prevent typing in selection into the below textbox. If you want to prevent characters in case sensitive manner, check Case sensitive checkbox. See screenshot:
shot prevent special characters typing 9

4. Click Ok, a dialog pops out to remind you the data validation will be removed from the selection if you continue this utility. See screenshot:
shot prevent special characters typing 10

5. Click Yes to continue, then a dialog pops out to remind you the selection has been prevented from entering specific characters you need. See screenshot:
shot prevent special characters typing 11

6. Click OK to close the dialog. From now on, it will pop a dialog to warn you if you enter any one of the specified characters you have prevented from typing within the selection. See screenshot:
shot prevent special characters typing 12

With Prevent Typing utility, you also can only allow some specific characters to be entered in a range of cells, for more detail, please to read Quickly only allow specific characters to be entered in a range of cells.


Demo: Prevent typing in any special or certain characters

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Productivity Tools Recommended

Office Tab: Use handy tabs in Microsoft Office, just like Chrome, Firefox, and the new Edge browser. Easily switch between documents with tabs — no more cluttered windows. Know more...

Kutools for Outlook: Kutools for Outlook offers 100+ powerful features for Microsoft Outlook 2010–2024 (and later versions), as well as Microsoft 365, helping you simplify email management and boost productivity. Know more...


Kutools for Excel

Kutools for Excel offers 300+ advanced features to streamline your work in Excel 2010 – 2024 and Microsoft 365. The feature above is just one of many time-saving tools included.

🌍 Supports 40+ interface languages
✅ Trusted by 500,000+ users and 80,000+ businesses worldwide
🚀 Compatible with all modern Excel versions
🎁 30-day full-featured trial — no registration, no limitations
Kutools for Excel RibbonKutools for Excel Ribbon