Modifica

Condividi tramite


Name.RefersToRange Property

Definition

Returns the Range object referred to by a Name object.

public:
 property Microsoft::Office::Interop::Excel::Range ^ RefersToRange { Microsoft::Office::Interop::Excel::Range ^ get(); };
public Microsoft.Office.Interop.Excel.Range RefersToRange { get; }
Public ReadOnly Property RefersToRange As Range

Property Value

Remarks

If the Name object doesn't refer to a range (for example, if it refers to a constant or a formula), this property fails.

To change the range that a name refers to, use the RefersTo property.

Applies to