+ Reply to Thread
Results 1 to 2 of 2

Modifying code to change number to word

  1. #1
    Registered User
    Join Date
    04-01-2012
    Location
    Korba
    MS-Off Ver
    Excel 2007
    Posts
    1

    Post Modifying code to change number to word

    Dear The VBA coding given below change numeric value to word. But if the numeric value is
    1. "24674", it changes into "Twenty Four thousand Six hundred Seventy Four",
    2. "324674", the function changes it in "Three hundred twenty four thousand six hundred seventy four"
    3. "2324674" into "Two million Three hundred Twenty Four thousand Six hundred Seventy Four"
    4. "52324674" into "Fifty Two million Three hundred Twenty Four thousand Six hundred Seventy Four".
    5. 752324674 into "Seven hundred Fifty Two million Three hundred Twenty Four thousand Six hundred Seventy Four"
    According to the Indian uses the first one is used but in place of second one we use " Three lakh Twenty Four thousand Six hundred Seventy Four". In Place of Third one we use "Twenty Three lakh Twenty Four thousand Six hundred Seventy Four" and in place of fourth one we use "Five crore Twenty Three lakh Twenty Four thousand Six hundred Seventy Four" and in place of fifth one we use "Seventy Five crore Twenty Three lakh Twenty Four thousand Six hundred Seventy Four". Kindly change the code accordingly. The code is
    Please Login or Register  to view this content.
    The units in India will be like

    1 Unit
    10 Ten
    100 1 hundred
    1,000 1 thousand
    10,000 10 thousand
    1,00,000 1 lakh
    10,00,000 10 lakh
    1,00,00,000 1 crore
    10,00,00,000 10 crore
    1,00,00,00,000 1 arab
    10,00,00,00,000 10 arab
    1,00,00,00,00,000 1 kharab
    10,00,00,00,00,000 10 kharab
    1,00.00.00.00.00.000 1 neel
    10,00,00,00,00,00,000 10 neel
    1,00,00,00,00,00,00,000 1 padm
    10,00,00,00,00,00,00,000 10 padm
    1,00,00,00,00,00,00,00,000 1 shankh
    10,00,00,00,00,00,00,00,000 10 shankh
    1,00,00,00,00,00,00,00,00,000 1 samudra
    10,00,00,00,00,00,00,00,00,000 10 samudra
    1,00,00,00,00,00,00,00,00,00,000 1 antya
    10,00,00,00,00,00,00,00,00,00,000 10 antya

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Modifying code to change number to word

    The UDF can be used upto 15 digits.Any clarifications welcome.



    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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