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?