Hello,
On a form I have a refedit control wich is then used to set a range variable
for further processing:
Dim s As String
Dim rng as Range
s = refCtrl.Value
On Error Resume Next
Set rng = Range(s)
If Err.Number <> 0 Then
...
This works fine as long as the range selected using the refedit control
consists of one area. However, it fails on multiple-area ranges. Is there a
simple way of setting the range in this case without having to write an
extensive procedure in which the string s is analyzed and the areas are added
to the range object?
TIA, Arne
Arne - 05 Sep 2007 14:18 GMT
Sorry, posted in the wrong place.
> Hello,
>
[quoted text clipped - 16 lines]
>
> TIA, Arne