Hello, on our server files are saved daily. The files have data in textboxes and in cells. When we want to search back in the files, we use Windows search on the map where we think the file is, which contains the data we are looking for.
The question is, is it possible and if so does anyone have a code for a search engine in Excel? So when you hit a button a form will open where you type the word you are looking for and a search will start through the stored files.![]()



Hello, on our server files are saved daily. The files have data in textboxes and in cells. When we want to search back in the files, we use Windows search on the map where we think the file is, which contains the data we are looking for.
Reply With Quote

Jacob this is a great code! The problem is and I'm sorry I have not been clear enough, the words I have to search for are in textboxes in the sheets. We type text in textboxes in the sheets. I've tried the code and it's great for finding data in cells but can I adjust it in a way that it can search for words in textboxes?
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".
I hope I'm clear enough
Still not working, it just opens the first file where the text is not in and then returns the error I mentioned before. I'll attach a zipped file.
