共用方式為


Workbook.PurgeChangeHistoryNow(Int32, Object) Method

Definition

Removes entries from the change log for the workbook.

public void PurgeChangeHistoryNow (int Days, object SharingPassword);
abstract member PurgeChangeHistoryNow : int * obj -> unit
Public Sub PurgeChangeHistoryNow (Days As Integer, Optional SharingPassword As Object)

Parameters

Days
Int32

The number of days that changes in the change log are to be retained.

SharingPassword
Object

The password that unprotects the workbook for sharing. If the workbook is protected for sharing with a password and this argument is omitted, the user is prompted for the password.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

Applies to