Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This is the macro im using for Excell 07 to change Tab colours on each sheet
(i have 52 sheets & works fine & when i use it for Excell 03 i get a run time error to debug Why & is there any other solutions or macro to use on both Private Sub Workbook_SheetChange(ByVal Sh As Object, _ ByVal Target As Range) Dim myRngToInspect As Range Set myRngToInspect = Sh.Range("C300") If Target.Cells.Count 1 Then Exit Sub End If If Intersect(Target, myRngToInspect) Is Nothing Then Exit Sub End If If UCase(Target.Value) = UCase("QC") Then Sh.Tab.ColorIndex = 3 'red for me Else Sh.Tab.ColorIndex = 2 'White for me End If End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro options in Excell 2003 | Excel Worksheet Functions | |||
Excell Macro Help Please | New Users to Excel | |||
Excell freezez after many macro cycles. | Excel Discussion (Misc queries) | |||
converting Lotus 123 macro to Excell macro | Excel Discussion (Misc queries) | |||
Macro Text into Excell | Excel Discussion (Misc queries) |