Try
Application.CommandBars.FindControl(ID:=1849).Execute
Ivan
Code opened the utility, but..
Your code worked to display the search utility, but it does not seem to work the utility correctly. It fails to search, I changed the options and it sill it does not work, but if I close it and re-open it with Ctrl + f and not the code you supplied it works fine?
Any ideas?
I did not know about the ID codes. How did you know which code to use?
JSW
Only works when Cells are selected?
The only way I could get the search to work is by selecting all the cells?
Sub mySearch()
Cells.Select
ActiveWindow.ScrollRow = 1
Application.CommandBars.FindControl(ID:=1849).Execute
Application.ActiveCell.Select
End Sub
The code highlights the whole sheet (Darkens it), but highlights a found cell to the automatic default cell color. On close the sheet returns to the normal color and the found cell is selected. Its not the way the Ctrl + f search works?
Any idea on how to select the sheet for the search without highlighting the sheet?
Could the search be made to work on the whole workbook not just a sheet?
Thanks Ivan
JSW Your code worked to display the search utility, but it does not seem to work the utility correctly. It fails to search, I changed the options and it sill it does not work, but if I close it and re-open it with Ctrl + f and not the code you supplied it works fine? Any ideas? I did not know about the ID codes. How did you know which code to use? JSW :