Options.PathForPublications 屬性 (Publisher)
會傳回 String ,代表出版物的預設資料夾。 唯讀。
語法
運算式。PathForPublications
表達 代表 Options 物件的變數。
傳回值
字串
範例
本範例會傳回出版物目前的預設路徑 (對應到 [工具] 功能表 [選項] 對話方塊中 [一般] 索引標籤上的預設路徑設定)。
Sub PubPath()
Dim strPubPath
strPubPath = Options.PathForPublications
MsgBox strPubPath
End Sub
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。