共用方式為


Workbook.AutoUpdateSaveChanges Property

Gets or sets a value that indicates whether current changes to the shared workbook are posted to other users whenever the workbook is automatically updated.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Property AutoUpdateSaveChanges As Boolean
bool AutoUpdateSaveChanges { get; set; }

Property Value

Type: System.Boolean
true if current changes to the shared workbook are posted to other users whenever the workbook is automatically updated. false if changes are not posted (this workbook is still synchronized with changes made by other users). The default value is true.

Remarks

The AutoUpdateFrequency property must be set to a value from 5 to 1440 for this property to take effect.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace