VBA Excel: Populating string with alternating cells -
i have 2 rows of cells use create string. catch is, need create string alternating 2 groups of cells. example below. 2 rows of cells need appear as such.
"1 1 0 2 1 3 0 4 1 5 0 6 1 7 0 8 1 9"
basically each cell in amplitude preceded cell sign.
any ideas? appreciated!

you can put 2 rows ease using 1 loop if requirement question:
hardcoded version (assuming "data point" sits @ cells a1):
for = 1 9 ans = ans & cells(4, i+3) & cells(2, i+3) next now let try non-hardcode
Comments
Post a Comment