I have a code that involves a search bar using a module linked to a text box to find a cell containing an item number in a data set. When you click on the text box “Search”, it brings you to the first item in a range for Column A that matches what is typed into Cell B1. I have another code on the sheet itself that activates when Tab key is pressed, it brings you back to Cell B1, the “search field” Cell. So far this works great and as intended.
What I am trying to add that I am having difficulty with is having the cell that is found using the “search” module to be highlighted when it is selected, then when tab key is pressed, the color is reverted back to No Fill before, during or after it selects cell B1. I can get it to change the color of the desired cell when the found cell is selected, but I can’t work out the second part of the issue: the color going back to no fill on Tab press.
Does anyone have a code that code implement this?
What I am trying to add that I am having difficulty with is having the cell that is found using the “search” module to be highlighted when it is selected, then when tab key is pressed, the color is reverted back to No Fill before, during or after it selects cell B1. I can get it to change the color of the desired cell when the found cell is selected, but I can’t work out the second part of the issue: the color going back to no fill on Tab press.
Does anyone have a code that code implement this?