FIND AND REPLACE WILDCARD - CELL FORMAT

Hi

I want to do a Find and Replace using Excel's built in Find and Replace function instead of VBA coding in Excel 2007

I want to find (numeric data pairs) like 00 00 00 00 00  (i.e.  43 99 10 02 31)  but not like as 00 00 00 00 00 00 00 (i.e.  43 99 10 02 31 01 20).  And, of course vice versa.  So find 5 pairs not 6 or seven.  6 pairs but not 7 or 5 pairs. etc.  All cells that will be searched are numerically formatted  

It seems simple but I just don't get the Excel syntax to do this with the wild cards.  

Thanks

Mike
I Hate Syntax
BulldogMikeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zorvek (Kevin Jones)ConsultantCommented:
About the best you will get is to use the question mark and use the option to find entire cell contents.

.
Kevin
gowflowCommented:
Try this to find 5 pairs (put this in the Find box and make sure you select Lookin: Values not formulas) also make sure entire cell content is ticked
?? ?? ?? ?? ??

unfortunately Excel only allow for * and ? and ~ as wildcards not like word where the list is long

gowflow

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
aikimarkCommented:
You're going to need the power of regular expressions.
http:A_1336-Using-Regular-Expressions-in-Visual-Basic-for-Applications-and-Visual-Basic-6.html

For this simple find operation, you can create a VBA function that uses the Like operator and this pattern:
## ## ## ## ##

Open in new window

or
## ## ## ## ## ##

Open in new window

For best flexibility, you would pass the pattern or the repeat value (5 or 6) and the VBA function would return True or False.
Martin LissOlder than dirtCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.