Excel VBA Macro Not Showing in the Macros List: Check SPELLNUMBER
Question details
Determine why a currency-to-words VBA procedure in Module1 is missing from Excel’s Macros dialog and how to use it.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user saved a VBA procedure for converting currency amounts into words and wants to run it.
- Observed behavior
- The procedure does not appear in the Macros dialog.
Open the workbook and check the procedure declaration in the VBA editor to see whether it is a Function or a Sub. Also confirm that the workbook is saved in a macro-enabled format such as .xlsm.
Use SPELLNUMBER as a worksheet function
Use this approach if the code is a user-defined function named SPELLNUMBER; functions are not run from the Macros dialog.
Open the VBA editor and inspect Module1 for a declaration such as Function SPELLNUMBER. Confirm the name and arguments match the formula you intend to use.
In an empty worksheet cell, enter =SPELLNUMBER(A1), replacing A1 with the cell containing the amount, and press Enter.
In the VBA editor’s Project Explorer, confirm the function is in a standard module such as Module1, not a worksheet or ThisWorkbook module. Use File > Save As to save the workbook as an Excel Macro-Enabled Workbook (*.xlsm).

Check whether a runnable Sub is visible
Use this check if the procedure is intended to run from Excel’s Macros dialog rather than from a worksheet formula.
Enable trusted VBA content and check for code errors
If the function is recognized but does not run, check workbook security and the VBA code.
Work with spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for Microsoft Office formats, making it easy to move everyday spreadsheet work between suites. It does not fix Excel’s Macros dialog; VBA availability and compatibility depend on your WPS edition and environment.

Frequently Asked Questions
Why is SPELLNUMBER missing from Excel’s Macros dialog?
If SPELLNUMBER is declared as a Function, it is a user-defined worksheet function rather than a runnable macro. Enter =SPELLNUMBER(A1) in a cell instead.
Where should I put the SPELLNUMBER code?
Place the function in a standard VBA module. In the VBA editor, use Insert > Module if you need to create one, then save the workbook as an .xlsm file.
Why does my Sub not appear in the macro list?
Check that it is a public Sub with no required arguments in a standard module. Also check for Option Private Module and select the correct workbook in Developer > Macros.
What should I check if the SPELLNUMBER formula does not work?
Confirm the function name and argument, enable content only for a trusted workbook, and use Debug > Compile VBAProject in the VBA editor to identify code errors.
Will WPS Office fix the missing macro in Excel?
No. The Excel Macros dialog is part of Microsoft Excel. WPS Office is an alternative for spreadsheet work, but VBA availability and compatibility depend on the WPS edition and environment.




