Add name problem

  • Thread starter Thread starter Luc
  • Start date Start date
L

Luc

I want to assign the name "Grafiek" to the selected cells (not the
CurrentRegion like in the code below)

What code should i use ?


ActiveWorkbook.Names.Add Name:="Grafiek", RefersToR1C1:= _
ActiveCell.CurrentRegion


Thanxxx,

Luc
 

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