merge named ranges

  • Thread starter Thread starter Roland
  • Start date Start date
R

Roland

is there a build-in function to merge 2 named ranges and give this a 3rd name
 
Say we have two ranges named alpha and beta and want to merge them into
something called gamma.

Sub roland()
Union(Range("alpha"), Range("beta")).Name = "gamma"
End Sub
 

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