Dear Experts,
Actually having a specific scenario, I would need to have putting an 'x' character in all colored background cells in range A1 and G7 by VBA, but with exactly the same font color as the background found:

There might be not only 4 colors in the scenario, so searching for a VBA logic which always putting the same color text as the background color found.
Could you please advise that which VBA code could reach that target?
In the attached Excel file filled the cells manually, if the cell has the default white background then it should stay blank without putting any text
DifferentBGColorsInRange.xlsx DifferentBGColorsInRange.xlsxThanks in advance,