Share via


Illegal assignment (VBScript)

You attempted to use a read-only identifier in the left-hand side of an assignment operation. You cannot assign a value to a read-only identifier.

To correct this error

  • Use read-only identifiers in the right-hand side of an assignment operation only.

See Also

Reference

Assignment Operator (=) (VBScript)

Comparison Operators (VBScript)

Operator Precedence (VBScript)

Set Statement

Other Resources

Operator Summary (VBScript)