Hi there,
This is my first post, so hopefully I provide enough information and not too much. I'm also quite new to excel and VBA.
I have a workbook with about 50 worksheets. In each sheet, in column A, there is a cell with the text "CA1111". Currently, I'm manually going into each sheet, searching column A for that cell, then selecting that row and maybe 1000 rows after that one and deleting them.
Is there VBA code that will search each sheet, search for CA1111, select the row containing it, and delete that row plus the following 1000 rows?
Thanks,
Erin
This is my first post, so hopefully I provide enough information and not too much. I'm also quite new to excel and VBA.
I have a workbook with about 50 worksheets. In each sheet, in column A, there is a cell with the text "CA1111". Currently, I'm manually going into each sheet, searching column A for that cell, then selecting that row and maybe 1000 rows after that one and deleting them.
Is there VBA code that will search each sheet, search for CA1111, select the row containing it, and delete that row plus the following 1000 rows?
Thanks,
Erin