ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hidden name (https://www.excelbanter.com/excel-programming/290944-hidden-name.html)

Stéphane Simard

Hidden name
 
Could you tell me how delete the hidden names?

Thank you.


Tom Ogilvy

Hidden name
 
dim nm as Name
for each nm in Thisworkbook.Names
if nm.Visible = False then
nm.Delete
end if
Next

Untested, but should work.

--
Regards,
Tom Ogilvy


"Stéphane Simard" wrote in message
...
Could you tell me how delete the hidden names?

Thank you.




Bob Phillips[_6_]

Hidden name
 
Hi Stéphane,

Range("myRange").Name.Delete

will do it. This can be a macro, or entered in the immediate window.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Stéphane Simard" wrote in message
...
Could you tell me how delete the hidden names?

Thank you.





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

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