HI all.
Can some explain why this code;
works for the main sheet, but as soon as you want to assign a sheet name (if working with multiple sheets) to it you have to use;
Even this works;
But add that second Cell for the range and it fails.
Any Idea?
Thanks.
Brian
Can some explain why this code;
Code:
Range(Cells(FoundCell.Row, 1), Cells(FoundCell.Row, 6)).Interior.ColorIndex = 6
Code:
Sheets("TEST1_15").Range("A" & i & ":F" & i).Interior.ColorIndex = 6
Even this works;
Code:
Sheets("TEST1_15").Range(Cells(FoundCell.Row, 1)).Interior.ColorIndex = 6
Any Idea?
Thanks.
Brian