LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
MAS MAS is offline
external usenet poster
 
Posts: 19
Default Tab Colour Change

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.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change the colour Jaf Excel Worksheet Functions 1 October 16th 09 05:54 AM
HOW TO CHANGE ROW COLOUR adeel via OfficeKB.com New Users to Excel 5 May 23rd 07 11:06 PM
change a cell background colour to my own RGB colour requirements Stephen Doughty Excel Discussion (Misc queries) 4 June 16th 06 01:08 PM
Code to change interior colour only if current interior colour is BeSmart Excel Programming 2 October 5th 04 12:06 AM
IF... change colour Robert Couchman[_4_] Excel Programming 4 March 3rd 04 11:58 AM


All times are GMT +1. The time now is 05:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"