On the attached example sheet I have some code behind the command button that deletes a row if the cell in column BA of that row contains the "Settled".
What I want to do is add some more code that inserts new rows at the nd of the current list to replace the ones that have been deleted. As a starting point I've added a COUNTIF formula to BA2 to count how many rows are marked as "settled" then we know how many want replacing (it's not much but it's a start )
So when you open this workbook, you will see that there are 3 rows settled and pressing the 'delete settled' button will then delete those 3 rows. Therefore 3 new rows (formatted the same as above including formulas) need inserting.
The normal 'Insert as Above' should work for the formatting, it's getting the code right to know how many want inserting. Then the values/formulas of columns J:M and Q:S want copying down in to these 3 newly formatted row. While column V wants defaulting to No.
Any help will be much appreciated.
Bookmarks