How many is several.
I did a few and then did this in the immediate window:
selection.name = "Test"
?activesheet.range("Test").cells.count
101
(I clicked on 101 cells)
You could also use a 5th name that combines the four.
In code:
union(range("test1"),range("test2"), ....).name = "AllTest"
Via the insert|Name|dialog
Names in workbook:
AllTest
Refers to:
=test1,test2,test3,test4
But I'd try selecting once again.
> hello
> Dave said :
[quoted text clipped - 8 lines]
>
> So I have to create four "named ranges" instead of one ! It's not cool !

Signature
Dave Peterson
Gord Dibben - 17 Mar 2007 17:50 GMT
Dave
Is OP running into the 255 character limit in the "refers to:" dialog?
Gord
>How many is several.
>
[quoted text clipped - 31 lines]
>>
>> So I have to create four "named ranges" instead of one ! It's not cool !
Dave Peterson - 17 Mar 2007 17:58 GMT
I don't think so.
It looks like he was trying to use selection.name in the VBE and that didn't
work.
But maybe I misinterpreted.
> Dave
>
[quoted text clipped - 37 lines]
> >>
> >> So I have to create four "named ranges" instead of one ! It's not cool !

Signature
Dave Peterson
Gord Dibben - 17 Mar 2007 19:14 GMT
Or I'm not paying attention to beginning of thread.
Better chance of that<g>
Gord
>But maybe I misinterpreted.
Dave Peterson - 17 Mar 2007 19:46 GMT
I'm afraid to ask about that other invoice thread...but the curiosity is killing
me.
Did you get the email and did you get it to work?
(shuddering in anticipation)
> Or I'm not paying attention to beginning of thread.
>
[quoted text clipped - 3 lines]
>
> >But maybe I misinterpreted.

Signature
Dave Peterson
Gord Dibben - 17 Mar 2007 20:42 GMT
Still having problems.
The copy Karen sent me is not recognized by the Tempate Wizard so is useless.
I sent her a good copy which she can customize if it works for her.
The template is accessed by many on a network so some mods will need to be made.
Awaiting her next report by email.
Gord
>I'm afraid to ask about that other invoice thread...but the curiosity is killing
>me.
[quoted text clipped - 10 lines]
>>
>> >But maybe I misinterpreted.
Dave Peterson - 17 Mar 2007 20:51 GMT
Thanks for the update.
(And to the OP: Sorry about hijacking your thread.)
> Still having problems.
>
[quoted text clipped - 22 lines]
> >>
> >> >But maybe I misinterpreted.

Signature
Dave Peterson