LSet Instruction
SyntaxGroupLSet strvar = str -or- LSet usertypevar1 = usertypevar2
AssignmentDescription
Form 1: Assign the value of str to strvar. Shorten str by removing trailing chars (or extend with blanks). The previous length strvar is maintained.See Also
Form 2: Assign the value of usertypevar2 to usertypevar1. If usertypevar2 is longer than usertypevar1 then only copy as much as usertypevar1 can handle.
RSet
Sub Main S$ = "123" LSet S$ = "A" Debug.Print "."; S$; "." '".A ." End Sub