[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
The following code example sets a NamedRange control that includes cells A1 through A5 to random values, and then uses the method to remove the NamedRange control. Note that although the NamedRange control is deleted, cells A1 through A5 retain their values.
This example is for a document-level customization.
- 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.