Export (0) Print
Expand All
Expand Minimize

Workbook.DeleteNumberFormat Method

Deletes a custom number format from the workbook.

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public virtual void DeleteNumberFormat (
	string NumberFormat
)

Parameters

NumberFormat

Names the number format to be deleted.

The following code example uses the DeleteNumberFormat method to delete the custom number format "#.###,##" from the current workbook.

private void WorkbookDeleteNumberFormat()
{
    this.DeleteNumberFormat("#.###,##");
}

Show:
© 2014 Microsoft