Hi
i need a simple code. i am new to vba and ado. i would like to transform a table. i import a table with two columns. column1 has line1, line2, line3, and item#. then a blank row. then the sequence starts again. so for each item# i have three line rows, one item# row and an empty row. i want to organize this. i think if i create a table with column1.name line1, column2 line2, column3 line3, and column4 item# this will organize my item# one item per row.
to this i need two while loops, one that will take the copy the rows out of the table_import, and then an outer loop that will enter it into table_Data.
can anybody help me with the code.
thanks,
sam
i need a simple code. i am new to vba and ado. i would like to transform a table. i import a table with two columns. column1 has line1, line2, line3, and item#. then a blank row. then the sequence starts again. so for each item# i have three line rows, one item# row and an empty row. i want to organize this. i think if i create a table with column1.name line1, column2 line2, column3 line3, and column4 item# this will organize my item# one item per row.
to this i need two while loops, one that will take the copy the rows out of the table_import, and then an outer loop that will enter it into table_Data.
can anybody help me with the code.
thanks,
sam