WorkbookBase.DeleteNumberFormat(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes a custom number format from the workbook.
public:
void DeleteNumberFormat(System::String ^ numberFormat);
public void DeleteNumberFormat (string numberFormat);
member this.DeleteNumberFormat : string -> unit
Public Sub DeleteNumberFormat (numberFormat As String)
Parameters
- numberFormat
- String
Names the number format to be deleted.
Examples
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("#.###,##");
}
Private Sub WorkbookDeleteNumberFormat()
Me.DeleteNumberFormat("#.###,##")
End Sub