I need some help with some data validation. I have a form that populates with data from a worksheet. Part of this data is a phone number. I've tried the code below, but I can't seem to get it to work.
What I want:
If the value in txt_Phone is numeric and 10 digits, the value gets formatted...