basepointdesignz
Programmer
Hi there,
I'm a bit new to VBA for Excel (I normal use it for AutoCAD) and I'm trying to set up a macro that will change the colour of a cell, depending on the content - basically if the cell contains one of five names, the cell will change to his or her correct colour..
I know that Conditional Formatting works but it only allows for 3 conditions, whereas I need it for 5..
I thought that a For each....Next statement would work but I can't find the correct code and variables for the job..
Could someone help me out?
Thanks in advance..
Renegade..
I'm a bit new to VBA for Excel (I normal use it for AutoCAD) and I'm trying to set up a macro that will change the colour of a cell, depending on the content - basically if the cell contains one of five names, the cell will change to his or her correct colour..
I know that Conditional Formatting works but it only allows for 3 conditions, whereas I need it for 5..
I thought that a For each....Next statement would work but I can't find the correct code and variables for the job..
Could someone help me out?
Thanks in advance..
Renegade..