in reply to search for folder

Thank you all for replying. After i declared the variables it is working. Best regards.