_Workbook.PurgeChangeHistoryNow(Int32, Object) _Workbook.PurgeChangeHistoryNow(Int32, Object) Method


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)


Int32 Int32

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

Object 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