ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel VBA Help (https://www.excelbanter.com/excel-programming/342235-excel-vba-help.html)

Kero

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?



All times are GMT +1. The time now is 01:50 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com