3 replies
by michael2
mytextbox.text = CStr(yourvariant)
or
Dim newvariable as String
newvariable = CStr(yourvariant)
Then you can use newvariable anywhere a string is expected. ie.
mytextbox.text = newvariable
mylabel.text = newvariable&" add text to string"All conversion functions explained in on-line help. They are
CBool(expression) Return boolean
CByte(expression)Return Byte
CCur(expression) Return currencey
CDate(expression)Return date
CDbl(expression) Return double
CDec(expression) Return decimal
CInt(expression) Return integer
CLng(expression) Return Long
CSng(expression) Return Single
CVar(expression) Return variant
CStr(expression) Return string
by dksj
by dksj
This discussion is closed to new replies.
Trending Desktop posts
Sort by Trending