NamedRange::Worksheet Property
Gets a Microsoft.Office.Interop.Excel::Worksheet that represents the worksheet that contains the NamedRange control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Property Value
Type: Microsoft.Office.Interop.Excel::Worksheet^A Microsoft.Office.Interop.Excel::Worksheet that represents the worksheet that contains the NamedRange control.
The following code example displays the name of the worksheet that contains a NamedRange.
This example is for a document-level customization.
Show: