Sorry for not being as clear as I could have. I will give a bit more of an explanation.
I generate a spreadsheet that has a number of columns and rows. That number changes every time I generate the spreadsheet. In the first empty column Cell(1, LR + 1) I enter a title via macro. In the row below, Cell(2, LR + 1) I enter a formula via macro. It looks something like this:
I do this for a range, one column at a time, for the first 16 Columns after the Last Column of data in Row 1. What this leaves me with is 16 columns with row 1 being titles and row 2 being formulas (and some empty cells). The location of these columns will change every time I generate these spreadsheets.
What I want to do next is copy row 2 of those 16 columns down to the last row of data in column 1, or "A". I have attached a dummy sheet for clarification.
Edit: After using your code:
It worked beautifully!!! I have been wracking my brain over this, and it was such a simple fix. Thank you!
Bookmarks