Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Beginners' Question : How to move selected columns & rows toa two dimensional array

I don't recall anything in your posts that specifies how many
iterations; the following loads the contents of d4:e34, g4:h34, j4:k34,
then m4:n34

Sub testab2001()
Dim arr(), rng As Range, i As Long
Set rng = Range("d4:e34")
For i = 1 To 4
arr = rng.Offset(0, 3 * (i - 1)).Value
'do something
Next
End Sub

Alan Beban

Erche DP wrote:

no column f in my description...
so on means for every iteration...
i think the pattern already shown..
first iteration : D4-E34 (means two columns 30 rows)
second iteration: G4-H34 (means the second two cols 30 rows)
third... J4-K34...

anyway, back to the problem..
how to specify the range.. ? should be add-able... ???????


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Advanced Filter: How do you MOVE the selected rows... ravif Excel Worksheet Functions 3 June 29th 09 10:25 PM
newbie question on multi-dimensional array sammus New Users to Excel 2 April 3rd 06 03:11 AM
Three Dimensional Array Question Tornados Excel Discussion (Misc queries) 1 June 20th 05 12:58 AM
Finding minimum value across selected rows of an array Dazed and confused about min, max Excel Worksheet Functions 2 February 25th 05 11:11 PM
Beginners' Question : How to move selected columns & rows to a two dimensional array Erche Excel Programming 4 July 18th 03 04:19 AM


All times are GMT +1. The time now is 05:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"