Eval Method

Evaluates an expression in VBA.

See Also | Example

Signature

object.Eval(Expression)

Object

Application
The object or objects this method applies to.

Expression

String; input-only
The expression to be evaluated.

Remarks

This method allows Automation clients to execute a line of VBA code in the context of the current project without creating modules and functions.

 

   Comments?