Hi
I have a worksheet where users will paste a block of data into columns A:E. In columns G:J there are a bunch of formula refering to columns A:E (mainly concatenations and vlookups). Row 1 is empty and Row 2 is headers.
Because the data paste that is made by the user can vary in terms of the number of rows, I want some code that copies the formulas in G:J to the same row number as that where the data paste ended.
eg. if 208 records were pasted the code would copy the formulas to row 208 (or 210 if I follow the example properly). If, next time, the user pastes 200 records (and deletes the 10 old ones) the VB should again evalute the last row of the data paste abd delete formula rows accordingly.
Summary> Last row of data paste = last row of formulas
Hoping also to use Worksheet_change so that this is automated when user makes the data paste.
Grateful for any help offered.
Regards
Nick
I have a worksheet where users will paste a block of data into columns A:E. In columns G:J there are a bunch of formula refering to columns A:E (mainly concatenations and vlookups). Row 1 is empty and Row 2 is headers.
Because the data paste that is made by the user can vary in terms of the number of rows, I want some code that copies the formulas in G:J to the same row number as that where the data paste ended.
eg. if 208 records were pasted the code would copy the formulas to row 208 (or 210 if I follow the example properly). If, next time, the user pastes 200 records (and deletes the 10 old ones) the VB should again evalute the last row of the data paste abd delete formula rows accordingly.
Summary> Last row of data paste = last row of formulas
Hoping also to use Worksheet_change so that this is automated when user makes the data paste.
Grateful for any help offered.
Regards
Nick