_Worksheet.Evaluate(Object) Method

Definition

Converts a Microsoft Excel name to an object or a value.

public:
 System::Object ^ Evaluate(System::Object ^ Name);
public object Evaluate (object Name);
Public Function Evaluate (Name As Object) As Object

Parameters

Name
Object

Required String. The name of the object, using the naming convention of Microsoft Excel.

Returns

Remarks

The following types of names in Microsoft Excel can be used with this method:

  • Defined names. You can specify any name.
  • External references. You can use the ! operator to refer to a worksheet defined in another workbook.

Applies to