「VBA」数値を文字列にするサンプル
書式
CStr(値)
使用例
Sub funcAa()
Dim x As Integer
x = 100
resB = CStr(x)
Debug.Print (resB)
Debug.Print (VarType(resB))
End Sub
Coding Changes the World
書式
CStr(値)
使用例
Sub funcAa()
Dim x As Integer
x = 100
resB = CStr(x)
Debug.Print (resB)
Debug.Print (VarType(resB))
End Sub