USERUI function

Microsoft Office ShapeSheet

USERUI function

See also

Evaluates one of the two expressions depending on the value of state.

Syntax

USERUI(state,defaultexpression,userexpression)

Remarks

If state is 0, the USERUI function evaluates the defaultexpression. If state is 1, it evaluates the userexpression.

Example

USERUI(1,if(Width>6in.,6in.,Width),Width*0.75)

Evaluates the expression Width*.075 and returns the result.