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!

enter image description here

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

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -