M
MelB
I need a macro that does the following:
If a cell contains the text "N/A" I need the background color of the cell
adjacent and to the left of it, copied and pasted into the cell with "N/A"
So, B1 has "N/A". I need the background color from A1 copied into cell B1,
leaving the text "N/A" intact.
If B2 has "N/A" I need the background or fill color from cell A2 copied into
B2.
In all cases the fill color is just a solid color. I need no other
formatting or content copied, just the fill color.
If a cell contains the text "N/A" I need the background color of the cell
adjacent and to the left of it, copied and pasted into the cell with "N/A"
So, B1 has "N/A". I need the background color from A1 copied into cell B1,
leaving the text "N/A" intact.
If B2 has "N/A" I need the background or fill color from cell A2 copied into
B2.
In all cases the fill color is just a solid color. I need no other
formatting or content copied, just the fill color.