将Excel文档中的数据写入word doc。 但我无法弄清楚如何以粗体显示所有命名文本的部分,任何帮助都会受到赞赏。
L_CurrentHeading = "Text1: " & Cells(Q.Row, ACol) & " " & Cells(Q.Row, JCol) & " | Text 3: " & Cells(Q.Row, BCol)
L_ID = "Text 2: " & Cells(Q.Row, CCol) & " | Text6: " & Cells(Q.Row, DCol) & " | " & Cells(Q.Row, ECol) & " Inspection " & Cells(Q.Row, FCol)
L_Reading = "Text7: " & Cells(Q.Row, GCol) & " " & Cells(Q.Row, HCol)
L_Note = "Text: " & Cells(Q.Row, ICol)
L_ID = L_ID & vbCrLf & L_CurrentHeading & vbCrLf & L_Reading & vbCrLf & L_Note
提前谢谢。