SpellNumber Without Currency is a manually created function through VBA Programming to change a number to written text. In other words, it converts a numeric value in excel into English words without currency.
The SpellNumber macro spells the numeric value to words as the name suggests. There is no direct function in Microsoft Excel to perform the above action.
However, as many and many users demanded, Microsoft has created and published the special VBA macro code on their website for SpellNumber with Currency.
If I need to display $ 2,345.50 as “Dollar Two Thousand Three Hundred Forty-Five and Fifty Cents” then you can use the code available on Microsoft website.
But If I need to display 2,345.50 to be displayed as ” Two Thousand Three Hundred Forty-Five Point Five ” then we need to use the SpellNumber Function Without Currency.
We have edited the same code with some changes for the required result. In this article, we will discuss the whole step by step process on how to create this SpellNumber Function Without Currency using the VBA Function.
How To Create SpellNumber Function Without Currency
Step 1: Start Microsoft Excel.
Step 2: Go To Developer Tab. Click “Visual Basic” under Code.
Step 3: Under the Insert menu, click Module.
Step 4: Copy and Paste the below code into the Module sheet.
Step 5: Save the workbook using Ctrl+S. Microsoft Excel will display the following message: “The following features cannot be saved in macro-free workbook” as you file now consists of a macro. Click “No”.
Following dialog box will appear. Select “Save As”.
From the drop-down menu select the “Save as type” as “Excel macro-enabled workbook”.
Now, your workbook consists of the new SpellNumber Function. Please keep in mind that this function will only be available in this workbook.
You need to paste the code for each workbook by following the above-mentioned steps.
Every time you will open this workbook or any other macro-enabled workbook, a security warning will appear below the ribbon. Select “Enable this content” and press enter or click “OK”.
Screenshots are given below for your ready reference:
Let us use this code in a workbook and see the results.
In column A, I have inserted the numbers you that I need to change into words.
In column B press “=” sign and write SpellNumber.
Select from the SpellNumber and give the cell reference.
The workbook displays the following results:
We thank our readers for liking, sharing and following us on different social media platforms.
If you have any queries or suggestions please share in the comment section below. I will be more than happy to assist you.