NamedRange::Clear Method ()

 

Clears the entire NamedRange control.

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

Object^ Clear()

Return Value

Type: System::Object^

The following code adds a note and some text to a NamedRange control and then displays a message box that prompts you to clear the cells by using the Clear 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: