This worked well, but came accross a problem, one of the ranges i need
defined is a combination of two ranges WBM and OBM, is there a way to make
both named ranges active and to name?
Thank you
"papou" wrote:
Hi
The answer is Yes:
ActiveWorkbook.Names.Add Name:="OBM", RefersToR1C1:=Selection.Address
But I would be careful about that.
HTH
Cordially
Pascal
"Miree" a écrit dans le message de news:
...
I have this line of code is there a way to change the RefersTo section to
ReferTo the active cells?
ActiveWorkbook.Names.Add Name:="OBM",
RefersToR1C1:="=Densities!R4C6:R139C6"
Thank you