I wanted to form a text in a new cell based on input from other cells and in new cell I wanted to highlight selected text with different color, following is my sample code
Sub Macro1()
While ActiveCell.Offset(0, -1) <> ""
ActiveCell.Offset(0, 0).FormulaR1C1 = _
"New Text" & ActiveCell.Offset(0, -1) & ":" & ActiveCell.Offset(0, -2)
ActiveCell.Offset(1, 0).Select
Loop
End Sub
Here I want to define color to "New Text", I have seen how to change for entire cell, but not for a selected text. how to do this?