Hi. I need to build a macro to check if cells in 3 columns contain anything in a sheet, then highlight an empty cell. I've been searching for solutions and am unable to find something that really fits what I need.
I would like to check columns B and C against A. For example, if B6 contains text, then A6 should also contain text (and then the cell highlighted) - but C6 does not need to contain text. OR- If C6 contains text, then A6 should also contain text (but not necessarily B6) and then A6 should be highlighted. Also, if both B6 and C6 contain text, then A6 should contain text. I do not need to check the entire columns (A:A)(B:B)(C:C). Rows 1-50 should be sufficient if that makes any difference for performance or efficiency.
After I get this part figured out, I'm going to try to automatically fill in the text that is supposed to be put in A. For example, if B6 contains text, then A6 should autofill with "B". If C6 contains text, the A6 should autofill with "C" - AND if both B6 and C6 contain text, then A6 should autofill with "B and C".
Any help or pointers in the right direction would be much appreciated. I've done a bit of VBA in the past, so I'm hoping to at least get a hint or some direction - no need to write the whole thing for me if it's too involved. Thanks!
I would like to check columns B and C against A. For example, if B6 contains text, then A6 should also contain text (and then the cell highlighted) - but C6 does not need to contain text. OR- If C6 contains text, then A6 should also contain text (but not necessarily B6) and then A6 should be highlighted. Also, if both B6 and C6 contain text, then A6 should contain text. I do not need to check the entire columns (A:A)(B:B)(C:C). Rows 1-50 should be sufficient if that makes any difference for performance or efficiency.
After I get this part figured out, I'm going to try to automatically fill in the text that is supposed to be put in A. For example, if B6 contains text, then A6 should autofill with "B". If C6 contains text, the A6 should autofill with "C" - AND if both B6 and C6 contain text, then A6 should autofill with "B and C".
Any help or pointers in the right direction would be much appreciated. I've done a bit of VBA in the past, so I'm hoping to at least get a hint or some direction - no need to write the whole thing for me if it's too involved. Thanks!