char: Letter prefix that specifies default data type for variables.
char-char: Letter range prefixes that specify default data type for variables.
示例:
' Prefix definitions for variable types:
DefBool b
DefCur c,l-m
DefDate t
DefDbl f
DefErr e
DefInt i-k,N
DefLng x-z, D
DefObj U, o-R
DefSng w,a
DefStr s
DefVar V,g
Sub ExampleDefStr
sStr=String ' sStr 是一个隐式字符串变量
Print VarType(slice), strng, TypeName(sheet) ' Result is: 8 "" String
End Sub