RESTRICT EDIT UDF
Restrict the text that can be entered in an editbox through a String Regular Expression.
The UDF works be subclassing the control. >Here is a similar UDF based on Windows Message.
The UDF is pretty simple and could be modified with ease.
User can set their SRE pattern to block the text entered in the editbox
Tooltips can be used in case of an error. The title of the Tooltip is Error_2 where the number(2) signifies the pattern that caused the error.