View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Fredrik Wahlgren Fredrik Wahlgren is offline
external usenet poster
 
Posts: 339
Default Convert a String to an number


"11Oppidan" wrote in message
...
Hi,

Using VB .Net please could someone help me with the syntax to convert a
string to number. I want this to turn the computer name into an value so

I
can pass it through a function to determine a unique key for the machine.



Use CLng. You can find out more about conversion he
http://www.startvbdotnet.com/language/conversion.aspx

/Fredrik