dpaton05
Well-known Member
- Joined
- Aug 14, 2018
- Messages
- 2,352
- Office Version
- 365
- 2016
- Platform
- Windows
I need to prevent certain special characters from being entered into B5. I want to do this with data validation.
This is the formula I used but it gave me an error saying A named range you specified cannot be found.
If I removed the = sign, I didn't get that error, but it won't let me enter anything in the cell.
Can someone help me please?
This is the formula I used but it gave me an error saying A named range you specified cannot be found.
Excel Formula:
=AND(ISERROR(SEARCH(MID(B5,ROW(INDIRECT("1:"&LEN(B5))),1),"\/:%'*?<>|"".")))
If I removed the = sign, I didn't get that error, but it won't let me enter anything in the cell.
Can someone help me please?