Worksheet.Evaluate(Object) Method

Definition

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

public:
 System::Object ^ Evaluate(System::Object ^ Name);
public object Evaluate (object Name);
abstract member Evaluate : obj -> obj
Public Function Evaluate (Name As Object) As Object

Parameters

Name
Object

The name of the object, using the naming convention of Excel.

Returns

Remarks

The following types of names in 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