+ Reply to Thread
Results 1 to 8 of 8

Number to word

  1. #1
    Registered User
    Join Date
    09-16-2008
    Location
    UK
    Posts
    11

    Number to word

    Is there a way to change a number (eg 750) to its written format (seven hundred and fifty)? I need both to appear next to each other and update automatically.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    There's a user defined function posted here that I think I used a while back (I had it bookmarked)... it should do the trick....

    http://www.xtremevbtalk.com/showthread.php?t=86191
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-16-2008
    Location
    UK
    Posts
    11
    Thanks for the suggestion.
    I found something very similar here: http://support.microsoft.com/kb/213360 which I have managed to get working. However, its a sample and displays it in dollars and cents!

    It is for a medication chart so I need the number (eg 450) as well as it written out as four hundred and fifty (with millilitres on the end, but not essential). So I just need to get rid of the 'dollars and cents', but not really sure how to?
    Last edited by yeahetc; 09-17-2008 at 11:16 AM.

  4. #4
    Registered User
    Join Date
    09-16-2008
    Location
    UK
    Posts
    11
    anyone...?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    The code I directed you to does not put in "dollars and cents"

  6. #6
    Registered User
    Join Date
    09-16-2008
    Location
    UK
    Posts
    11
    oh yeah, I apologise for that!
    I have tried pasting that into the module box that appears (insert - module), but it wont appear under 'user defined' when I try add a function.

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Take out the first word, "Private" from the code.

  8. #8
    Registered User
    Join Date
    09-16-2008
    Location
    UK
    Posts
    11
    Thank you!
    Very much appreciated!

+ 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. Linking my drop down menu bar to a new cell as a numeric number not word??
    By fordieuk in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2008, 10:36 AM
  2. Word and Number formula
    By clsmdh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-13-2008, 01:45 PM
  3. How do I replace a specific number with a word
    By oddcarout in forum Excel General
    Replies: 2
    Last Post: 04-14-2008, 07:36 PM
  4. Replies: 4
    Last Post: 06-13-2007, 12:24 AM
  5. Excel sheet Saved as word doc using cell value
    By Oreg in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-24-2006, 02:33 AM

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