Number to text

S

spmenon

Hi,
I got the funtion of spellname for converting number to
word i.e. "125 = one hundred twenty five dollars". But I
need to change the dollar to dirhams since and cents to
fils. When I change it in the programe error
message "variable not foud" is appearing. Please help
 
B

Bernie Deitrick

SPMenon,

You need to include the dirhams in quotes, along the lines of this, if your
function name is "SpellName"

SpellName = SpellName & " Dirhams and " & Remainder & " Fils"

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top