Hi Alan,
thanks for the reply,
now, i have the idea to solve this..
but, somehow i still have problem with Range method..
rangeRng = "d4:h34"
arr = Range(rangeRng).Value
this works
but,
shName = "nmJul"
refTabMonthX = ActiveWorkbook.Names(shName).RefersToRange.Column
refTabMonthY = ActiveWorkbook.Names(shName).RefersToRange.Row
startRange = refTabMonthX
endRange = refTabMonthY + 30
rangeRng = startRange & ":" & endRange
arr = Range(rangeRng).Value
does not work,
1) i tried to get output by msgbox arr(1,1)
getting empty string.. that goes for any cells in that array.
2) however, all i want is to select the range for a several times, with
different range each iteration
for example,
i=1 ; range = d4 : e34
i=2 ; range = g4 : h34
somehow, the range (startrange, endrange) can not be added.. (d4+5 = h4)
...
so, please advise..
Thank you....
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!