I am looking for a macro that will search specified ranges on two work sheets and set a value in the cell immediately to the right for any matches found. All the search needs to do is search the specified range for any values, I am only interested in whether there is a value entered or not. I have attached an example file. What the macro should do is search the ranges "Bin_Codes" and "Bin_Codes2" and if any cells have data in them, it will enter the letter "D" in the adjacent cell to the right.
Search via macro.xlsx
Bookmarks