ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Range name box (https://www.excelbanter.com/excel-programming/282491-range-name-box.html)

Russell Stevenson

Range name box
 
How do I code to clear the 'Name Box'?

Ron de Bruin

Range name box
 
With this macro you can delete the names in your workbook

Sub test()
Dim nm As name
For Each nm In ThisWorkbook.Names
nm.Delete
Next
End Sub


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Russell Stevenson" wrote in message om...
How do I code to clear the 'Name Box'?





All times are GMT +1. The time now is 08:01 PM.

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