多种方法,比如N是数值型变量,想转为字符型变量S,则:S = Str(N)S = CStr(N)S = N & ""S = "" & NS = Trim(N)如果N和S是显式声明的变量,则不用另加任何转换,VB会自动帮你转换的,比如:Dim N As Integer, S As StringN = 123S = N
在数值前加str就可以。如str(3),这时3就是字符串类型
a=cstr(b)
Str()