Visual Basic Scripting Edition  

Illegal assignment

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

Assignment Operator (=) | Comparison Operators | Operator Precedence | Operator Summary | Set Statement