Publisher) (Document.PublicationType 屬性
會傳回代表指定之發行集類型的 PbPublicationType 常數。 唯讀。
語法
運算式。PublicationType
表達 代表 Document 物件的變數。
傳回值
PbPublicationType
範例
下列範例判定使用中出版物是否為印刷出版物。 如果是,則發行集會轉換成 Web 發行集。
Sub ChangePublicationType()
With ActiveDocument
If .PublicationType = pbTypePrint Then
.ConvertPublicationType (pbTypeWeb)
End If
End With
End Sub
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。