+ Reply to Thread
Results 1 to 7 of 7

Numbers to Text

  1. #1
    Registered User
    Join Date
    02-20-2004
    Posts
    70

    Numbers to Text

    Hi,

    How do I convert a list of numbers to text

    Example :

    45 to Forty Five
    69 to Sixty Nine

    Can you help?

    Thank you in advance
    ~Sachin Attri~

  2. #2
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    here is a vba code


    Press Alt + F11 to start VBA editor
    On the insert menu click on module
    Copy and paste the below code in module sheet.

    Please Login or Register  to view this content.

    how to use
    Enter a number in cell A1 like 5.90
    then in cell A2 type =SpellNumber(A1)
    It will give you the result.

  3. #3
    Registered User
    Join Date
    02-20-2004
    Posts
    70

    Convert Numbers to Text

    Thank you very much Shijesh. You're a star my friend !

    I blank out " " cents so that I dont get any currency right?

    Also are you familiar with excel charts that I might want to control with drop down boxes etc?

    Thank you again

  4. #4
    Registered User
    Join Date
    02-20-2004
    Posts
    70

    Convert Numbers to Text

    Ok got it Shijesh. I didnt see the other functions. So I'll use the GetHundred function to get what I need.

    Thanks again

  5. #5
    Registered User
    Join Date
    02-20-2004
    Posts
    70

    Convert Numbers to Text

    Oops I have another problem now. I think the limit is till 999.

    How do I convert 10579?
    Or maximum in six digits 100500 ?

    Thank you

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  7. #7
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    Hi Sachin,

    The function will convert number to text till Trillion....

    If you dont want paise part then search for paise ..
    You will find if else statement there ... try to manipulate that
    Last edited by Shijesh Kumar; 06-15-2008 at 03:09 AM.

+ 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