Word) (Document.PrintFormsData 屬性
True 是表示 如果 Microsoft Word 列印到信紙表單僅在相對應的線上表單中輸入的資料。 可讀寫的 Boolean。
語法
expression。 PrintFormsData
表達 代表 Document 物件的變數。
範例
本範例會將 Word 設定為只列印線上表單中的資料,然後再列印使用中文件。
ActiveDocument.PrintFormsData = True
ActiveDocument.PrintOut
This example returns the current status of the Print data only for forms check box in the Options for current document only area on the Print tab in the Options dialog box.
temp = ActiveDocument.PrintFormsData
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。