Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
RefEdit control | Excel Programming | |||
passing range from RefEdit control | Excel Programming | |||
Setting Caption for the RefEdit box? | Excel Programming | |||
Shift-Control Arrow and RefEdit Control? | Excel Programming | |||
RefEdit control bug | Excel Programming |