You're welcome !
As RD said <g, here we could have used FIND instead of SEARCH
FIND is case sensitive while SEARCH is not,
but it doesn't matter here since we're looking for the "-", not alphas
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"anar_baku" wrote
in message ...
Thanks guys, this worked!