Edit

Share via


_Workbook.PurgeChangeHistoryNow(Int32, Object) Method

Definition

Removes entries from the change log for the specified workbook.

public void PurgeChangeHistoryNow (int Days, object SharingPassword);
Public Sub PurgeChangeHistoryNow (Days As Integer, Optional SharingPassword As Object)

Parameters

Days
Int32

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

SharingPassword
Object

Optional 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.

Applies to