Convert numbers to text with VBA (ie 10 to be Ten)

280 pts.
Tags:
String manipulation
VBA
I want to conver number to word ie. if 10 it to be Ten, if 540 it to be five hundred forty so on

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

The following is the link for converting numbers to text. It can handle decimals as well.

http://www.meadinkent.co.uk/xlnumberstext.htm.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • mshen
    The only thing I can think of is to use switch or if statements for each possible number you want to convert.
    27,385 pointsBadges:
    report
  • Parthibanvba
    I want to convert number to word ie. if 10 it to be Ten, if 540 it to be five hundred forty so on 
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following