| Find and delete and remove and removePosted: 16 Jan 2012 Tags: Find and delete and remove and remove Find and delete remove Question: Hi all How can I search a worksheet for a string and then delete that entire line and the next 3 lines also, for each time the string is? TIA, Sal Answer: Hello ALT + F11 to open the VB Editor, right click "ThisWorkbook" and insert the module and paste the code below on the right. With the sheet, it is to work on the visible water run the code. Replace the word (string), we are looking for in the line marked Sub Find_All() Rate this article:
|
0 Comments