Happy Friday, all.
I am using this code to highlight the active row in Excel 2000. The
problem is that I cannot use this and keep my conditional formatting
that I have changing the Font on one of the columns.
Thanks in advance for your help, code to follow.
-Adria D.
******************************************************
ActiveSheet.Unprotect Password:="mypass"
Cells.FormatConditions.Delete
With Target.EntireRow
.FormatConditions.Add Type:=xlExpression, Formula1:="TRUE"
.FormatConditions(1).Interior.ColorIndex = 36
End With
With Target
.FormatConditions.Delete
.FormatConditions.Add Type:=xlExpression, Formula1:="TRUE"
.FormatConditions(1).Interior.ColorIndex = 36
End With
With ActiveSheet
.EnableAutoFilter = True
.Protect Password:="mypass", _
DrawingObjects:=False, UserInterfaceOnly:=True
End With
Application.EnableEvents = True
End Sub
Bookmarks