本示例将活动文档存为 Test.rtf,格式为 RTF。

ActiveDocument.SaveAs FileName:="Text.rtf", _
    FileFormat:=wpsFormatRTF