Export (0) Print
Expand All
Expand Minimize

Workbook.DeleteNumberFormat Method (2007 System)

Deletes a custom number format from the workbook.

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

public void DeleteNumberFormat(
	string NumberFormat
)

Parameters

NumberFormat
Type: System.String

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.

This example is for a document-level customization.

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

Community Additions

ADD
Show:
© 2014 Microsoft