VBA 声明宽度可变的字符串变量

示例

Dim surname As String '姓氏可以接受长度可变的字符串
surname = "Smith"
surname = "Johnson"