NamedRange::ClearFormats Method ()

 

Clears the formatting of the NamedRange control.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Object^ ClearFormats()

Return Value

Type: System::Object^

The following code example adds a note to a NamedRange control named NamedRange1 and then prompts you to remove all formatting from NamedRange1 by calling the ClearFormats method.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: