文本单元格中以粗体显示的文本

时间:2017-06-21 08:17:25

标签: vba excel-vba excel

我的句子有这样的文字:

Cells(d, 11) = "on " & Cells(C.Row, 3) & " with " & Cells(C.Row, 2) & " "

我希望Cells(C.Row, 3)的值是粗体。

我试过

Cells(d, 11) = "on " & Cells(C.Row, 3).Font.Bold = True & " with " & Cells(C.Row, 2) & " "

0 个答案:

没有答案