Hi I have this code to format phone numbers. User types the whole number and when moves to another cell, the phone gets formatted.
Numbers can have 10 or 11 digits. If I type 10 digits and click outside the cell... it gets formatted correctly.
10 digitis 2233334444 > (22) 3333-4444
If I go back to the cell and type 11 digits the format does not change, only after clicking outside the cell and clicking on it again.
11 digits 22333334444 > (2) 233333-444 > click outside and click back corrects the format > (22) 33333-4444
What should I add to the macro to fix this issue? Thank you
Bookmarks