Find and Replace Question

ZanyJanie

Registered User.
Local time
Today, 20:00
Joined
Mar 27, 2001
Messages
30
I'm importing a number of text file into an access table and I've got a problem with inconsistant data formats within a phone number field. Below are a few examples of the data I'm trying to clean up.

(xxx) xxx-xxxx
xxx-xxx-xxxx
xxx xxx-xxxx

What I need is some VBA code that will find and replace all parenthesis, dashes, and spaces with a null character. Once I've got a consistant 10 character field, I can use a mask to display the data in a consistant format.

Can anybody help me with this code?

Thanks
 
Thanks Jack ... That did the trick!
Jane
 

Users who are viewing this thread

Back
Top Bottom