SETATREFEVAL Function

Used in the set_expression parameter of the SETATREF function to indicate that set_expression should be evaluated before assigning to the reference parameter in SETATREF.

Syntax

SETATREFEVAL(expr)

Parameters

Name

Required/Optional

Data Type

Description

expr

Required

Varies

An expression that is evaluated when the SETATREF function redirects set_expression to another cell.

Remarks

When assigning the set_expression parameter of the SETATREF function to a referenced cell, Microsoft Visio writes set_expression to the cell as an expression by default. However, if any portion of the set_expression parameter is wrapped by the SETATREFEVAL function, Visio evaluates the expression and replaces the SETATREFEVAL function with its result prior to resolving the SETATREF expression.

Example

For an example, see the SETATREF function.