View Single Post
 
Old 07-05-2012, 03:21 PM
Colin Legg's Avatar
Colin Legg Colin Legg is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Jan 2011
Location: UK
Posts: 369
Colin Legg will become famous soon enough
Default

Sorry for the slow reply - I've been really busy.

The degree of difficulty depends on whether you can assume that the cells with each piece of text are clumped together in groups. If they are, and if you are willing to compromise on the colours, then you could differentiate between them using conditional formatting to put borders on the cells.

If you want to go the VBA route then you'll need to loop through the cells in each column, identify each distinct value and associate a colour with that value which would be used to fill the cell's interior.

Have a go and post back if you're having problems with whichever approach you go for.
Reply With Quote