Hi All,
I am a noob to macros but have a need to get some data reformatting done that occurs often in my business.
I start with this...
-- removed inline image ---
Basically, column b's quantities need to get moved to the row below it's associated barcode in column a
I tried auto recording a macro, and it worked ONLY on the first line of the sheet. I will not know how many rows there are, so the macro should run until there is no data in column b.
I get that this requires cells "by reference" and some kind of loop (do:while , I think)
Could someone please help me with my excel 2007 spreadsheet?
Thanks,
the_fitz
I am a noob to macros but have a need to get some data reformatting done that occurs often in my business.
I start with this...
-- removed inline image ---
Basically, column b's quantities need to get moved to the row below it's associated barcode in column a
I tried auto recording a macro, and it worked ONLY on the first line of the sheet. I will not know how many rows there are, so the macro should run until there is no data in column b.
I get that this requires cells "by reference" and some kind of loop (do:while , I think)
Could someone please help me with my excel 2007 spreadsheet?
Thanks,
the_fitz
Last edited: