dim x as long
dim str as string
str = "567"
x = str
This doesnt work. But how do I convert a string to a long?
Printable View
dim x as long
dim str as string
str = "567"
x = str
This doesnt work. But how do I convert a string to a long?
dim x as long
dim str as string
str = "567"
x = CLng(str)
You can also do CBool, CStr, CInt, etc...
Fiona
cool.. so we got a forum member called DebbieInFlorida, and now i see another, is called Fiona and is in FLorida.
maybe i should rename to MattInUK