I have tried for two weeks before finally joining the forum out of desperation; can someone here please help me?
I am trying to populate an invoice from a list of items in another sheet
I have two sheets in one workbook, Sheet1 (Invoice) and sheet2 (Database).
Both sheets have 3 columns, B, C & K with headings (quantity-Description-cost).
Sheet 1 is a list of 2000 items; each item can be selected by entering a quantity.
I would like to use a macro that copies the items selected in sheet2 to the first blank row (counting from the top down B14:K2000) to sheet 1.
Only the selected items would be copied and placed sequentially in sheet1, no blank cells or rows would be copied.
I have attached a workbook with two macros, everything works just fine if you hit the 'copy rows' macro but it deletes the formulas in the total column, so I would prefer to use the 'copy cells' macro but the items are being copied with blank rows and it will only populate one page where the 'copy rows macro' populates more than one page with header and footer.
Code below if it helps.
Thanks for looking, Mayweed.
Cell macro
Row macro that adds totals and formats if the page is full
Bookmarks