Thread: Excel VBA Help
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kero Kero is offline
external usenet poster
 
Posts: 1
Default Excel VBA Help

I have 10 columns with data....so that's going to mean 10 loops. I also
will be reversing the data, so the number that's in the 10th place will
now be in the first place (on the next row)...and so forth. This means
that within the loop, I want something that will go "Position1 in row2"
= "Position10 in row1". The second loop would then be something like
"Position2 in row2" = "Position9 in row1." The loop is counting up to
10 so for the first half of the equation I need a variable (ex
cell(1,x) ) to count up and in the second half you'll use the same
variable to count down (ex 11-x...(where x=1).... = 10). The variable
will change value with each loop.

I need help understanding loops and offsets, can anyone assist?