I am not sure how to do this
I have a string and I need to convert it to a long.

Code:
dim x as long
dim str as string

str = "546"
x = str

I get an error doing this but I need to convert the str to a long somehow