Syntax

expression.DeleteNumberFormat(NumberFormat)

expression A variable that represents a Workbook object.

Parameters

Name Required/Optional Data Type Description
NumberFormat Required String Names the number format to be deleted.

Example

This example deletes the number format "000-00-0000" from the active workbook.

Visual Basic for Applications
ActiveWorkbook.DeleteNumberFormat("000-00-0000")
delete number format Delete Number Format Method deletenumber deletenumberformat DeleteNumberFormat Method How does my code get rid of a number format I created?

See also: