Workbook.PurgeChangeHistoryNow Method (Int32, Object)

 

Removes entries from the change log for the workbook.

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

void PurgeChangeHistoryNow(
	int Days,
	object SharingPassword
)

Parameters

Days
Type: System.Int32

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

SharingPassword
Type: System.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.

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

Return to top
Show: