Hi,
I have the code below and I'm trying to understand where the issue is that it's not working as expected. What I'm trying to achieve is to find any cells having the word "BIN" within the active sheet (regardless of any additional content and regardless of where in the sheet they might be), make the text bold, and apply a color to them. THEN, apply the same format to the cell 2 columns to the left, but I don't seem to properly state the declaration.
This code I modified from the Excel macro recorder, works as to find the cells meeting the criteria, but I'm sure there's a better way to achieve what I'm trying. I then tried to find a way to apply the same format to each cell 2 columns to the left of any occurrence found, but I couldn't.
The code below I modified from another macro I have where the data needed is in a single column (E), then it applies the same formatting to another cell. I tried to modify it so it now works for what I'm trying to achieve here, but I didn't find the way.
The highlighted parts of the code are the ones I have no idea how to write. How do I tell Excel here to look in the whole sheet, not just certain column?, How is the color value stated so Excel looks for it and applies it to another cell?
Your help will be highly appreciated.
Thanks
Bookmarks