SpellNumber UAE Dirhams is an Excel function manually through VBA Programming to change a given number in UAE Dirhams to written words. In other words, it converts a numeric value of AED into English words including Fils.
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 you want to display $ 2,345.50 as “Dollar Two Thousand Three Hundred Forty-Five and Fifty Cents”, using the Microsoft function you can do that.
Whereas if you want to display AED 2,345.50 to be displayed as ” Two Thousand Three Hundred Forty-Five Dirhams and Fifty Fils ” then we need to use the SpellNumber UAE Dirham Function.
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 UAE Dirham Function using the VBA.
You can download useful Excel templates in the following categories:
- Accounting Templates: Accounts Payable, Accounts Receivable, etc.
- HR Templates: Salary Sheet, Attendance Register, etc.
- Financial Analysis Templates: Sales Revenue Analysis, Break Even Analysis, etc.
- Financial Statement Templates: Balance sheet, Profit & Loss Account, Bank Reconciliation, etc.
- Calendar Templates: Yearly Calendar Templates, Monthly Calendar Templates, Fiscal Calendar Templates, etc.
How To Create SpellNumber UAE Dirhams Function
Step 1: Open an MS Excel workbook.
Step 2: Go To Developer Tab.
Step 3: Click “Visual Basic” under Code.
Step 4: Click on “Module” under the Insert menu as shown below:
Step 4: Copy the below-given code and paste it into the Module sheet.
Code for SpellNumber Function for AED
Step 5: Click on the “Save” button in the top ribbon. The following message will be displayed: “The following features cannot be saved in macro-free workb0 ook”. Your file now consists of a macro thus you need to Click “No” option.
As soon as you click on “No” the below screen will appear. Select “Save As”.
Choose the desired disk space where you want to save this file and Select the “Save as type” as “Excel macro-enabled workbook”.
SpellNumber function for AED (UAE Dirham) is now saved in your workbook.
Note: Please keep in mind that this function will only be available in this workbook.
If you require the same code in another workbook then you need to paste the code by following the above given steps.
Furthermore, every time you open this workbook or any other macro-enabled workbook you will get a security warning below the ribbon.
You need to select “Enable this content” and press enter or click “OK”. Otherwise, the code will not function.
We have already used this code in one of our UAE VAT Invoice Template. Let see how this function will display the numbers.
Merged Cell (C44:L44) will display the invoice amount given in cell P44 as shown below:
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.