Hi,
I have a simple with/end with to turn text red and bold. But the code turns the active cell red and bold instead.
Can anyone give me any advice on where I'm going wrong?
Thanks,
Roy
jobname = Trim(c.Offset(0, 12).Value)
With jobname
Selection.Font.ColorIndex = 3
Selection.Font.Bold = True
End With
I have a simple with/end with to turn text red and bold. But the code turns the active cell red and bold instead.
Can anyone give me any advice on where I'm going wrong?
Thanks,
Roy
jobname = Trim(c.Offset(0, 12).Value)
With jobname
Selection.Font.ColorIndex = 3
Selection.Font.Bold = True
End With