CokeOrCrack
Board Regular
- Joined
- Dec 13, 2015
- Messages
- 81
-In my Userform, I have a textbox where a user is to input their phone number
-Upon clicking the Submit command button in the Userform, the phone number is then inputed into a table cell
-I want the Phone Number column to be formatted: (###) ###-####
Herein lies the problem:
-The phone number data is copied from another source and its formatting is dependent on the applicant. There are a wide range of ways applicants format their phone numbers
Question:
Is there a way to make it so that no matter what format an applicant submits their phone number, the phone number cell in the worksheet is correctly formatted (###) ###-####?
The main roadblock appears to be that textboxes are text only, no numbers. I have the worksheet phone number column already formatted (###) ###-####.
Thanks
OJ
-Upon clicking the Submit command button in the Userform, the phone number is then inputed into a table cell
-I want the Phone Number column to be formatted: (###) ###-####
Herein lies the problem:
-The phone number data is copied from another source and its formatting is dependent on the applicant. There are a wide range of ways applicants format their phone numbers
Question:
Is there a way to make it so that no matter what format an applicant submits their phone number, the phone number cell in the worksheet is correctly formatted (###) ###-####?
The main roadblock appears to be that textboxes are text only, no numbers. I have the worksheet phone number column already formatted (###) ###-####.
Thanks
OJ