+ Reply to Thread
Results 1 to 3 of 3

read in full number and returns number.

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    read in full number and returns number.

    Hi.

    I would like a code to read the number in words and retonar numerical value.

    example:

    cell 'A2' = two hundred forty-five.

    results in 'B2' = 245

    Thank you!!
    Last edited by marreco; 10-06-2012 at 08:57 AM.
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: read in full number and returns number.

    heres a link to Ron Coderre's Excel Sample template

    http://www.contextures.com/NumsToWords_VBA.zip


    Edit: Mis-read your post, I see you want word to number not number to word.

    http://www.contextures.com/ExcelTemp...SampleFile.zip
    Last edited by mike7952; 10-06-2012 at 08:21 AM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: read in full number and returns number.

    If I'm not mistaken, this is Walkenbachs code. Please be aware that it adds dollars at the end.

    edit: guess i had it the wrong way as well ^^

    Please Login or Register  to view this content.
    If you think that my answer was helpful, please click on the "Add to this user's Reputation" button.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1