Excel vba set bold specific text of string into the cell?

后端 未结 3 1136
长情又很酷
长情又很酷 2020-12-03 22:01

I want to set bold some text in string.How can i do it ?

3条回答
  •  伪装坚强ぢ
    2020-12-03 22:02

    I would say use this dynamic formula -

    Range("A1").Characters(worksheetfunction.find("Excel",Range("A1").value,1),len("Excel")).font.bold = True
    

提交回复
热议问题