After I've selected the directory and entered the word I want to look for, it just opens a .xls file in the directory and then in line If .TextBox5.Text = Search Then I get the error "object doesn't support this property of method".

It should also, only open a file, if the word where I searched for is found.

:no I think this is more VBA than I can handle.

Thanks for the help.