I want to set bold some text in string.How can i do it ?
I would say use this dynamic formula -
Range("A1").Characters(worksheetfunction.find("Excel",Range("A1").value,1),len("Excel")).font.bold = True
Another way for people who need a quick fix and aren't comfortable using VBA:
Not the fastest way but if you're not familiar with VBA and need a quick fix this will work for you!
Not just for Bold: CTRL I for italics, CTRL U for underlined.
By using Characters.
Range("A1").Characters(8, 5).Font.Bold = True