Does anyone know how to use the excel replace function with font formatting? I have tried several different combinations with no success...here's one for example:
Here is also what it would look like with an excel macro...but would have to be transformed into vbscript:
Code:
objExcel.Range("C:C").Replace "warning", "Warning" AND objExcel.Range("C:C").ReplaceFormat.Font.ColorIndex = 3
Here is also what it would look like with an excel macro...but would have to be transformed into vbscript:
Code:
Columns("C:C").Select
Range("C3").Activate
With Application.ReplaceFormat.Font
.Subscript = False
.ColorIndex = 3
End With
Selection.Replace What:="warning", Replacement:="Warning", LookAt:=xlPart _
, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=True