G
Guest
I'm trying to write a macro to change the cell background color when keywords are entered, something like
IF keyword = "north" THEN cell.Font.Color = Blu
IF keyword = "south" THEN cell.Font.Color = Re
IF keyword = "east" THEN cell.Font.Color = Gree
IF keyword = "west" THEN cell.Font.Color = Orang
IF keyword = "central" THEN cell.Font.Color = Pin
There will definitely be more than 3 keywords so I will not be able to use Conditional Formatting
Any help would be appreciated. Thanks.
Rachael
IF keyword = "north" THEN cell.Font.Color = Blu
IF keyword = "south" THEN cell.Font.Color = Re
IF keyword = "east" THEN cell.Font.Color = Gree
IF keyword = "west" THEN cell.Font.Color = Orang
IF keyword = "central" THEN cell.Font.Color = Pin
There will definitely be more than 3 keywords so I will not be able to use Conditional Formatting
Any help would be appreciated. Thanks.
Rachael