+ Reply to Thread
Results 1 to 15 of 15

SpellNumber How to convert to " US Dollar One Hundred and 50/100

  1. #1
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    SpellNumber How to convert to " US Dollar One Hundred and 50/100

    Hi Guys,

    Kindly help me to reconstruct VBA code as SpellNumber1.xlsm

    VBA Code shows >>>>>> One Thousand Two Hundred Thirty Four Dollars and Fifty Cents
    I want to convert it to >>>>> US Dollar One Thousand Two Hundred Thirty Four and 50/100

    Kindly help me to reconstruct it.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    Did you remove any functions from the sample workbook?
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    You can try: SpellNumber1(1).xlsm

  4. #4
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    Hi Solus,

    Is it possible to move Dollar in front line like this >> US Dollar One thousand and 50/100.

  5. #5
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100


  6. #6
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    Thanks Solus.
    But I want to remove this bold dollars.
    see below:

    US Dollar One Thousand Two Hundred Thirty Four Dollars and 51/100

    It is supposed to be:
    US Dollar One Thousand Two Hundred Thirty Four and 51/100

  7. #7
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    With Additional changes SpellNumber1(1).xlsm

  8. #8
    Forum Contributor
    Join Date
    11-21-2013
    Location
    Philippines
    MS-Off Ver
    Excel 2007,2013
    Posts
    159

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    Hi,

    Thank you Solus. This is perfect!

  9. #9
    Registered User
    Join Date
    08-09-2014
    Location
    Hong Kong
    MS-Off Ver
    2007
    Posts
    4

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    Hello Solus,
    Thank you for your post. I had same issue and now it has been settled by your post.
    I have one more query need your help. In your changed SpellNumber1(1).xlsm, the output is in ProperCase, is it possible to edit code to display UPPERCASE?
    Thank you in advance.

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    =upper(...)
    Entia non sunt multiplicanda sine necessitate

  11. #11
    Registered User
    Join Date
    08-09-2014
    Location
    Hong Kong
    MS-Off Ver
    2007
    Posts
    4

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    Thanks.
    A little bit confusing where to input =upper (...). Convinient for you to attach Changed SpellNumber1(1).xlsm like above for easy understanding.
    Thanks again.

  12. #12
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    =upper(spellnumber(d2))

  13. #13
    Registered User
    Join Date
    08-09-2014
    Location
    Hong Kong
    MS-Off Ver
    2007
    Posts
    4

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    Got it! Thank you very much and have a nice day!

  14. #14
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    You're welcome.

  15. #15
    Registered User
    Join Date
    08-09-2014
    Location
    Hong Kong
    MS-Off Ver
    2007
    Posts
    4

    Re: SpellNumber How to convert to " US Dollar One Hundred and 50/100

    Sorry to disturb you once again!
    Based on your guidance above, everything goes well like example given below.
    USD234.56 = US DOLLARS TWO HUNDRED THIRTY FOUR AND FIFTY SIX CENTS
    Now, if I need to add ONLY after the CENTS to read US DOLLARS TWO HUNDRED THIRTY FOUR AND FIFTY SIX CENTS ONLY, should I reconstruct the VBA? How to and or any way to settle this issue?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] "1235" appears as "One thousand two hundred thirty five"
    By H. Kan in forum Excel General
    Replies: 9
    Last Post: 06-02-2006, 02:55 PM
  2. [SOLVED] rounding to nearest hundred dollar in Excel
    By Diane in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 10-14-2005, 12:05 PM
  3. [SOLVED] convert 500.00 to Five Hundred
    By Paul B in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 AM
  4. [SOLVED] convert 500.00 to Five Hundred
    By Paul B in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04:05 AM
  5. convert 500.00 to Five Hundred
    By John 22 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM

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