_Application.ThisCell Property

Definition

Returns the cell the user-defined function is being called from as a Range object.

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

Property Value

Remarks

Users should not access properties or methods on the Range object when inside the user-defined function. Users can cache the Range object for later use and perform additional actions when the recalculation is finished.

Applies to