PublicationType Property [Publisher 2003 VBA Language Reference]
PbPublicationType
PbPublicationType can be one of these pbPublicationType constants. |
pbTypePrint |
pbTypeWeb |
expression.PublicationType
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following example determines if the active publication is a print publication. If it is, the publication is converted to a Web publication.
Sub ChangePublicationType()
With ActiveDocument
If .PublicationType = pbTypePrint Then
.ConvertPublicationType (pbTypeWeb)
End If
End With
End Sub
Applies to | Document Object