>>Thanks Sergey. That works brilliantly. I need to allow users to select folders to copy from and to copy to. If I struggle with that I'll let you know.
>>
>>Thanks.
>
>Also, I observed that the loFolder will not receive a folder object if the destination folder does not exist. You must validate its existence first (Directory()), if missing then create at it (MD).
Or just check for NULL
IF ISNULL(loFolder)
... Invalid folder
ENDIF
--sb--