Share via


PublishObject.AutoRepublish Property

When a workbook is saved, Microsoft Excel determines if any item in the PublishObjects collection has the AutoRepublish property set to True and, if so, republishes it. The default value is False.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property AutoRepublish As Boolean
    Get
    Set
'Usage
Dim instance As PublishObject
Dim value As Boolean

value = instance.AutoRepublish

instance.AutoRepublish = value
bool AutoRepublish { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

PublishObject Interface

PublishObject Members

Microsoft.Office.Interop.Excel Namespace