Latest Movies :
Home » » Excel Addins : Spell Number Excel Addin

Excel Addins : Spell Number Excel Addin

Excel Addins : Spell Currency Excel Addin

I am sharing Excel Addin for converting Numbers to Words. I keep getting mails / comments where people are not able to install the VBA code shared in my earlier post
This Addin will make it easier to use. This Addin can be installed on any computer having Excel 2007 and above versions. Once Installed you can use SpellNumber() formula in any excel file on that computer.

You need to download and open Addin file on your machine. This will install the Addin automatically to your machine. 

However if you send file to another person you need to send the Addin along and ask that person to install it on his/her machine so that your formula can work there.


Download SpellCurr Excel Addin for converting numbers to words - Excel 2007 Version



Download SpellCurr Excel Addin for converting numbers to words - Excel 2003 Version

This is the Nepali Currency, and not the one in the code above.... 
Cheers 
'****************' Main Function *'**************** 
Function SpellNumbers(ByVal MyNumber) 
Dim Rupees, Paise, Temp 
Dim DecimalPlace, Count 
ReDim Place(9) As String 
Place(2) = " Thousand " 
Place(3) = " Lac " 
Place(4) = " Crore " 
Place(5) = " Arab " ' String representation of amount 
MyNumber = Trim(Str(MyNumber)) ' Position of decimal place 0 if none 
DecimalPlace = InStr(MyNumber, ".") 
'Convert Paise and set MyNumber to Rupee amount 
If DecimalPlace > 0 Then 
Paise = GetTens(Left(Mid(MyNumber, DecimalPlace + 1) & "00", 2)) 
MyNumber = Trim(Left(MyNumber, DecimalPlace - 1)) 
End If 
Count = 1 
Do While MyNumber <> "" 
If Count = 1 Then Temp = GetHundreds(Right(MyNumber, 3)) 
If Count > 1 Then Temp = GetHundreds(Right(MyNumber, 2)) 
If Temp <> "" Then Rupees = Temp & Place(Count) & Rupees 
If Count = 1 And Len(MyNumber) > 3 Then 
MyNumber = Left(MyNumber, Len(MyNumber) - 3) 
Else 
If Count > 1 And Len(MyNumber) > 2 Then 
MyNumber = Left(MyNumber, Len(MyNumber) - 2) 
Else 
MyNumber = "" 
End If 
End If 
Count = Count + 1 
Loop 
Select Case Rupees 
Case "" 
Rupees = "No Rupees" 
Case "One" 
Rupees = "One Rupee" 
Case Else 
Rupees = Rupees & " Rupees" 
End Select 
Select Case Paise 
Case "" 
Paise = "" 
Case "One" 
Paise = " and One Paisa" 
Case Else 
Paise = " and " & Paise & " Paise" 
End Select 
SpellNumbers = Rupees & Paise 
End Function 
'******************************************* 
' Converts a number from 100-999 into text * 
'******************************************* 
Function GetHundreds(ByVal MyNumber) 
Dim Result As String 
If Val(MyNumber) = 0 Then Exit Function 
MyNumber = Right("000" & MyNumber, 3) 'Convert the hundreds place 
If Mid(MyNumber, 1, 1) <> "0" Then 
Result = GetDigit(Mid(MyNumber, 1, 1)) & " Hundred " 
End If 
'Convert the tens and ones place 
If Mid(MyNumber, 2, 1) <> "0" Then 
Result = Result & GetTens(Mid(MyNumber, 2)) 
Else 
Result = Result & GetDigit(Mid(MyNumber, 3)) 
End If 
GetHundreds = Result 
End Function 
'********************************************* 
' Converts a number from 10 to 99 into text. * 
'********************************************* 
Function GetTens(TensText) 
Dim Result As String 
Result = "" 'null out the temporary function value 
If Val(Left(TensText, 1)) = 1 Then ' If value between 10-19 
Select Case Val(TensText) 
Case 10: Result = "Ten" 
Case 11: Result = "Eleven" 
Case 12: Result = "Twelve" 
Case 13: Result = "Thirteen" 
Case 14: Result = "Fourteen" 
Case 15: Result = "Fifteen" 
Case 16: Result = "Sixteen" 
Case 17: Result = "Seventeen" 
Case 18: Result = "Eighteen" 
Case 19: Result = "Nineteen" 
Case Else 
End Select 
Else ' If value between 20-99 
Select Case Val(Left(TensText, 1)) 
Case 2: Result = "Twenty " 
Case 3: Result = "Thirty " 
Case 4: Result = "Forty " 
Case 5: Result = "Fifty " 
Case 6: Result = "Sixty " 
Case 7: Result = "Seventy " 
Case 8: Result = "Eighty " 
Case 9: Result = "Ninety " 
Case Else 
End Select 
Result = Result & GetDigit _ 
(Right(TensText, 1)) 'Retrieve ones place 
End If 
GetTens = Result 
End Function 
'******************************************* 
' Converts a number from 1 to 9 into text. * 
'******************************************* 
Function GetDigit(Digit) 
Select Case Val(Digit) 
Case 1: GetDigit = "One" 
Case 2: GetDigit = "Two" 
Case 3: GetDigit = "Three" 
Case 4: GetDigit = "Four" 
Case 5: GetDigit = "Five" 
Case 6: GetDigit = "Six" 
Case 7: GetDigit = "Seven" 
Case 8: GetDigit = "Eight" 
Case 9: GetDigit = "Nine" 
Case Else: GetDigit = "" 
End Select 
End Function
Share this article :

+ comments + 9 comments

December 2, 2014 at 4:38 AM

Try...
Free Excel Add-in Convert Excel cell Numbers to Words with Prefix and Suffix features.
Download Link - http://www.xltool.in

September 16, 2015 at 11:19 PM

hey could you make code to write in nepali or hindi like 12345 = बाह्र हजार तीन सय पैतालिस i hope u understand .

February 24, 2016 at 10:15 AM

Hi, Thanks.
User can also try free GWORD addin formula which auto convert numbers or amount to words or rupees.
Download Link - www.xltool.in | www.gwordformula.blogspot.com

July 4, 2019 at 8:28 PM

How can i use this what function should i use for this add ins please tell me the formula of this add ins

June 3, 2020 at 3:03 AM

Do you need to increase your credit score?
Do you intend to upgrade your school grade?
Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
Do you need any information concerning any database.
Do you need to retrieve deleted files?
Do you need to clear your criminal records or DMV?
Do you want to remove any site or link from any blog?
you should contact this hacker, he is reliable and good at the hack jobs..
contact : cybergoldenhacker at gmail dot com

September 24, 2020 at 6:20 AM

I have used (onlineghosthacker247@ Gmail .com) quite a number of times and he has never disappointed me. .He does all types of mobile hack; get unrestricted and unnoticeable access to your partner/spouse/anybody Facebook account, email, what's app, text messages. He also makes changes in any database/website such as your college/university grades. .Getting the job done is as simple as sending an Email to (onlineghosthacker247@ Gmail .com) stating what you want to do.
Thanks.

September 24, 2020 at 7:58 AM

This professional hacker is absolutely reliable and I strongly recommend him for any type of hack you require. I know this because I have hired him severally for various hacks and he has never disappointed me nor any of my friends who have hired him too, he can help you with any of the following hacks:

-Phone hacks (remotely)
-Credit repair
-Bitcoin recovery (any cryptocurrency)
-Make money from home (USA only)
-Social media hacks
-Website hacks
-Erase criminal records (USA & Canada only)
-Grade change
-funds recovery

Email: onlineghosthacker247@ gmail .com

October 13, 2020 at 12:16 PM

I was so anxiuos to know what my husband was always doing late outside the house so i started contacting hackers and was scamed severly until i almost gave up then i contacted this one hacker and he delivered a good job showing evidences i needed from the apps on his phone like whatsapp,facebook,instagram and others and i went ahead to file my divorce papers with the evidences i got,He also went ahead to get me back some of my lost money i sent to those other fake hackers,every dollar i spent on these jobs was worth it.Contact him so he also help you.
mail: premiumhackservices@gmail.com
text or call +1 4016006790

Anonymous
March 12, 2022 at 5:09 PM

Excel Addins : Spell Number Excel Addin - Hacking >>>>> Download Now

>>>>> Download Full

Excel Addins : Spell Number Excel Addin - Hacking >>>>> Download LINK

>>>>> Download Now

Excel Addins : Spell Number Excel Addin - Hacking >>>>> Download Full

>>>>> Download LINK

Post a Comment

 
Support : Creating Website | Sital Template | Black Template
Copyright © 2011. Hacking - All Rights Reserved
Template Modify by Creating Website
Proudly powered by Sital Mandal