Checking range names

  • Thread starter Thread starter Kenneth Brown
  • Start date Start date
K

Kenneth Brown

I have a macro that has to delete specified range names but falls ove
if a target name does not exist (which can happen sometimes - I won'
bore you with the details!). How do I check for the existence of
range name?
 
K,

You could simple use:

On Error Resume Next

prior to your deleting the range names.

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top