Before you reinvent the wheel, take a look at any of the DIR...() UDFs, like DIRPLUS() and DIRLIST(). They are posted in the UDF Forum.
_________________________
There are two types of vessels, submarines and targets.