如何以粗体显示以下字符串"不特定于报告日期的常规单位信息:".
Print #FileNumber, Margin & "General Unit Information not specific to report date:"
#FileNumber定义为Open FileName For Output As #FileNumber
FileName是File的位置,Margin是一组空的空格.
有任何想法吗?
你不能在纯文本文件中这样做,但这对我有用.
打开文件
Print #FileNumber, "{\rtf" Print #FileNumber, Margin & "\b General Unit Information not specific to report date:\b" Print #FileNumber, "}"
将文件另存为 Filename.RTF
在Wordpad中打开