Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rob
 
Posts: n/a
Default conditional formatting

Is it possible to color code a tab in a workbook based on a condition?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nick Hodge
 
Posts: n/a
Default conditional formatting

Rob

Not without code

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"rob" wrote in message
...
Is it possible to color code a tab in a workbook based on a condition?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
rob
 
Posts: n/a
Default conditional formatting

What do you mean by code? How do I do that? I want a worksheet to evaluate
a cell. If the cell is less than 120, then I want the tab to turn red.

Thanks,
rob

"Nick Hodge" wrote:

Rob

Not without code

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"rob" wrote in message
...
Is it possible to color code a tab in a workbook based on a condition?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nick Hodge
 
Posts: n/a
Default conditional formatting

Rob

Something like this in the worksheet_change() event

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Target, Range("A1")) Is Nothing Then
If Target.Value = 120 Then
Me.Tab.Color = RGB(255, 0, 0)
Else
Me.Tab.Color = xlNone
End If
End If
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"rob" wrote in message
...
What do you mean by code? How do I do that? I want a worksheet to
evaluate
a cell. If the cell is less than 120, then I want the tab to turn red.

Thanks,
rob

"Nick Hodge" wrote:

Rob

Not without code

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"rob" wrote in message
...
Is it possible to color code a tab in a workbook based on a condition?






Reply
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
Conditional Formatting when inserting a row zahoulik Excel Worksheet Functions 2 January 7th 06 03:01 PM
Conditional Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


All times are GMT +1. The time now is 05:52 PM.

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"