# SETATREFEVAL Function [Visio 2003 SDK Documentation]

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.

SETATREFEVAL(expr)

expr 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 Office 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.