DeleteNumberFormat Method
TOC
Collapse the table of content
Expand the table of content

Workbook.DeleteNumberFormat Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Deletes a custom number format from the workbook.

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.

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

ActiveWorkbook.DeleteNumberFormat("000-00-0000")
Show:
© 2016 Microsoft