>Tore
>
>How can I call your code from a form ?
>
>I wold like to create a seach buttom and texbox where I will type the file name
>
>
>Moises
Just save either of the codes in a program, include it to your project and call from your form something like
=GetAllFiles(thisform.txtStartDir.value, thisform.txtExtension.value)
If it's not broken, fix it until it is.
My Blog