There are more elegant ways, but to make it work that way with my suggestion, try something like:Split(yourString, "\")(UBound(Split(yourString, "\")))Hope this helps
Andy
---------------------------------
Zebracorn: 50% Zebra, 50% Unicorn = 100% Real.
http://lessthandot.com