I could just use
VB Code:
  1. intNumber = val("1")
but I am sure microsoft have put it in a class somewhere.

Can anyone tell me where?