Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DeleteNumberFormat Method

Workbook.DeleteNumberFormat Method

Office 2007
Deletes a custom number format from the workbook.

Syntax

expression.DeleteNumberFormat(NumberFormat)

expression   A variable that represents a Workbook object.

Parameters

NameRequired/OptionalData TypeDescription
NumberFormatRequiredStringNames 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")



Community Additions

ADD
Show:
© 2015 Microsoft