Hi all,
I am new to this forum and I have minimal knowledge on macro in excel. I have a problem and I hope you guys can help.
I have a single worksheet containing text data and all the while I used Ctrl+F to find the texts that I need.
I need to have a macro to create a search box and can highlight (any colour will do) all the cells that match the input in the search box.
Eg. the cell data has "abcd efgh ijkl" and when I search for "fgh", the cell has to be highlighted. Cells that did not match will be left not-highlighted.
So, if let's say there are 3 cells that match the input which is "fgh", these 3 cells will be highlighted.
I need to have an active macro so that I will not need to activate the macro every time I want to search the list.
That means the search bar has to be permanently on the sheet, preferably on top of the sheet.
So that I can directly locate the cells after I key in the data on the search box and press "Search".
If there is no result, then all cells should be left not-highlighted.
Thanks in advance.
I am new to this forum and I have minimal knowledge on macro in excel. I have a problem and I hope you guys can help.
I have a single worksheet containing text data and all the while I used Ctrl+F to find the texts that I need.
I need to have a macro to create a search box and can highlight (any colour will do) all the cells that match the input in the search box.
Eg. the cell data has "abcd efgh ijkl" and when I search for "fgh", the cell has to be highlighted. Cells that did not match will be left not-highlighted.
So, if let's say there are 3 cells that match the input which is "fgh", these 3 cells will be highlighted.
I need to have an active macro so that I will not need to activate the macro every time I want to search the list.
That means the search bar has to be permanently on the sheet, preferably on top of the sheet.
So that I can directly locate the cells after I key in the data on the search box and press "Search".
If there is no result, then all cells should be left not-highlighted.
Thanks in advance.