--------------------------------------------------------------------------------
Hi,
I often refer to the following number format in emails: (XXX-XXXXXX). The first three numbers in each string need to be replaced with a prefix (there are currently about 10 different prefixes in use. I would like to change the prefix to a Letter. For example, I would like to replace 123-456789 with A-456789 and I would like to switch 234-567891 with B-567891 etc.
Is there a code I could employ to automatically swap out the first three numbers for the letter whenever entered in an email? Thanks.
This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.
Thread Closed.
Please choose 1 forum... the correct forum for your question.. and post only once.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks