PE New User
New Member
- Joined
- Aug 4, 2014
- Messages
- 21
Hi,
I am trying to remove all data below the last entry for a specified product (I actually have to find the last row of data by finding the following product in the list in order to insert the row where I need it) - I have successfully inserted a row to locate the last entry, but am struggling to write the instruction to select all data below this break and delete it.
The script I have so far is:
Can anyone help?
I am trying to remove all data below the last entry for a specified product (I actually have to find the last row of data by finding the following product in the list in order to insert the row where I need it) - I have successfully inserted a row to locate the last entry, but am struggling to write the instruction to select all data below this break and delete it.
The script I have so far is:
Code:
Worksheets("DATA SHEET").Columns(8).Find("Electricity NHH").Select
ActiveCell.EntireRow.Insert
Can anyone help?