I have a script that searches phone numbers
Some of the numbers have spaces and some are just numbers.
eg in the database a phone number may show up as "0218888888" or "021 888 888"
Is there a way so when my .find looks for the number it will search both? ignore the spaces?
Code:
Set rngFind = .Find(What:=Trim(txtLookup.Text), LookIn:=xlValues, LookAt:=xlPart)
Some of the numbers have spaces and some are just numbers.
eg in the database a phone number may show up as "0218888888" or "021 888 888"
Is there a way so when my .find looks for the number it will search both? ignore the spaces?