数据类型,官方文档:
https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/data-type-summary
查看变量类型
Sub sample() Dim str As String str = "name" Debug.Print TypeName(str) End Sub