Tab Colour Change

M

MAS

Hi,

I am using the following to change cell colours in a individual cells in a
range but I also want the Tab Colour to change if any of the cells in the
named range are changed. Any ideas on the correct code ?

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)

If Not Intersect(Target, Sh.Range("B3:B36")) Is Nothing Then
Target.Interior.ColorIndex = 6

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top