Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    7

    Question Unanswered: Converting Strings to values

    I assume this to be a simple question, but I can't seem to find the answer through searching Google. Nevertheless, how do I convert a string value such as "12345" to an integer such as 12345? I want to do a function similar to Val(string). Thanks for your help!

  2. #2
    Join Date
    Sep 2003
    Posts
    6
    Cint(string) or Cdbl(string) and so on... depends in what you want to convert your string.

    IE
    strString = "12"
    intString = Cint(strString)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •