Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   Covertion of Number into Text (https://www.askmehelpdesk.com/showthread.php?t=388381)

  • Aug 19, 2009, 03:16 AM
    nikeshtnt
    Covertion of Number into Text
    Hi,

    Is there any formula by using that we can convert number into text e.g. 1523 One Thousand Five Hundred Twenty Three.

    I have got one i.e. BathText() but it's result is not in English.

    I have macro also but that has to be always insert in a spreadsheet where I want to use this function.

    Please help
  • Aug 19, 2009, 04:52 AM
    JBeaucaire

    As a formula, no. it would be impossibly long since numbers can be any length. You could probably construct a small formula that worked with small numbers.

    There's an english "SpellNumber()" function that you can install that works well. You can find it here.

    Excel: Convert Numbers to Words/Text
  • Aug 26, 2009, 11:41 PM
    nikeshtnt
    Quote:

    Originally Posted by JBeaucaire View Post
    As a formula, no. it would be impossibly long since numbers can be any length. You could probably construct a small formula that worked with small numbers.

    There's an english "SpellNumber()" function that you can install that works well. You can find it here.

    Excel: Convert Numbers to Words/Text

    Thanks JBequcaire,

    You have always helped me.

    I have this macro which I am using in some excel files. Is there any way I can get this macro available for all files so that I just go to Insert>Function>User Defined and same macro executes it for me.
  • Aug 27, 2009, 12:12 AM
    JBeaucaire

    You can convert your custom UDFs (just one or a whole collection of them that you utilize) into an ADD-IN, a file usually in the form of .xla or .xll file that opens every time you start Excel. This "ADDIN" approach also makes it easy for you to give your custom function to others for very easy installation.

    Here's a page that serves a primer for converting UDFs into ADDINS:

    VBA Tips: Build an Excel Add-In


    PLEASE read the caution found at the very bottom of the file, it's very important!

  • All times are GMT -7. The time now is 08:41 PM.