Workbook.DeleteNumberFormat Method (Excel)
Deletes a custom number format from the workbook.
Syntax
식 .DeleteNumberFormat(NumberFormat)
식 A variable that represents a Workbook object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
NumberFormat |
필수 |
String |
Names the number format to be deleted. |
Example
This example deletes the number format "000-00-0000" from the active workbook.
ActiveWorkbook.DeleteNumberFormat("000-00-0000")