VBA & Macro Problems

Excel VBA Macro Not Showing in the Macros List: Check SPELLNUMBER

Natalie TaylorNatalie Taylor Dec 2, 2026 868 views

Question details

Determine why a currency-to-words VBA procedure in Module1 is missing from Excel’s Macros dialog and how to use it.

Why an Excel VBA Macro Does Not Appear in the Macros List
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.
Before you start

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.

Solution 1Recommended

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.

1
Check the function name

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.

2
Enter the formula

In an empty worksheet cell, enter =SPELLNUMBER(A1), replacing A1 with the cell containing the amount, and press Enter.

3
Check the module and file format

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).

Use SPELLNUMBER as a worksheet function
Functions and the Macros dialog: A user-defined Function is called from a formula or other VBA code, so its absence from the Macros dialog is expected.
Free Microsoft Office alternative

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.

Open and edit Microsoft Excel formats such as .xlsxUse a familiar spreadsheet interface for formulas and cell-based calculationsWork across Microsoft Office document formats during migrationUse a lightweight office suite for everyday spreadsheet tasks
microsoft office alternative - wps office

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.