ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel: Cell Naming Bulk Delete (https://www.excelbanter.com/excel-worksheet-functions/191966-excel-cell-naming-bulk-delete.html)

Grant

Excel: Cell Naming Bulk Delete
 
Excel 2003: Under Insert -- Name. Often times I have excel files with
several hundered named cells or named ranges. I would like to bulk delete
them, instead of, under the "define" screen, using arrow + Alt D, repeatedly.
Thank you for your help.

Mike H

Excel: Cell Naming Bulk Delete
 
Hi,

Right click any sheet tab, view code and paste this in and run it

Sub standard()
Dim wname As Name
For Each wname In ActiveWorkbook.Names
wname.Delete
Next
End Sub

Mike

"Grant" wrote:

Excel 2003: Under Insert -- Name. Often times I have excel files with
several hundered named cells or named ranges. I would like to bulk delete
them, instead of, under the "define" screen, using arrow + Alt D, repeatedly.
Thank you for your help.



All times are GMT +1. The time now is 05:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com