Microsoft 365 and Office | Excel | For home | Windows
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Is it possible to print all names used in a spreadsheet
To print all names used in an Excel spreadsheet, you can utilize the ListNames method available in the Excel Interop library. This method pastes a list of all displayed names onto the worksheet, starting from the first cell in the specified range.
Here’s a brief overview of how to use it:
Names collection to get all the defined names in the workbook.ListNames method to output these names onto the worksheet.This will allow you to see all the names that have been defined in your Excel file, which can then be printed as needed.
Google will point you to several macros that do what you want.