Working with a range within a range ?
Set LRange = Worksheets("Sheet1").Range("A1:D10")
Set SRange = LRange.Columns(1)
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Dan Thompson" wrote in message
...
I am trying to assing a sub range within a larger range of cells on a
worksheet.
I would like to be able to assign this smaller sub range within the larger
range of cells on my worksheet by just designating wich column within the
larger range should be used for the smaller range and the rest of the
paramiters such as number of rows for the smaller range should be taken
from
the range paramiters of the larger range.
Set LRange = Worksheets("Sheet1").Range("A1:D10")
Set SRange = Range(LRange.Columns(1)) <-- This works but only gives me a
range of "A1" I need it to be "A1:A10"
anyone ????
Thanks again
Dan Thompson
|