Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Deletes a custom number format from the workbook.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Public Sub DeleteNumberFormat ( _
numberFormat As String _
)
public void DeleteNumberFormat(
string numberFormat
)
Parameters
numberFormat
Type: System.StringNames 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 Sub WorkbookDeleteNumberFormat()
Me.DeleteNumberFormat("#.###,##")
End Sub
private void WorkbookDeleteNumberFormat()
{
this.DeleteNumberFormat("#.###,##");
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.