Collabora Office 21.06 Help
為變數指定一個值。
[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) REM 傳回 9
End Sub