Hello,
As a VBA beginner, I'm still trying to get a feel for how to write macros.
A common issue I have is the need to delete entire rows that contain either blanks or certain text within them, and then shift up to cover the deleted row. Another thing I'd like to learn how to do is how to insert a row below a given row if a certain cell contains specific text.
I've attached an example workbook to illustrate what I'd like to do. Column A contains company number, B contains the type of company, C contains company name, and D contains a value for the company. How can I create a macro to:
1). Delete rows where no name is provided and shift up
2). Insert a row between two rows if the "Type" field is different - (e.g. insert a row between row 4 and 5, or 16 and 17, which have different value for Type).
Thanks to all for the help, and for taking the time to read my question.
-Student1990
FilterRows_Example.xlsx
Bookmarks