Collabora Office 21.06 帮助
向变量指定值。
[Let] variable = expression
variable: Variable that you want to assign a value to. Value and variable type must be compatible.
与大多数 BASIC 语言一样,「Let」是可选关键字。
Sub ExampleLet
Dim sText As String
Let sText = "Las Vegas"
MsgBox Len(sText) '返回 9
End Sub