Hello,
Every cell in column A will either be blank, or will have the text value "Yes"
I need a macro that can go through column A, and if any cell in column A = "Yes" delete all rows that meet that criteria. For exmaple if A2, A99, and A1002 = "yes", then delete rows 2, 99, and 1002.
Id like to learn how to best accomplish the above as a stand alone VBA, but to further complicate what I really need is the above +
In column B every cell will have a combobox, I need the deletion to also delete the combobox in the applicable rows.
Right now, if a user were to right click a row and delete, the combobox is not deleted.
Each combobox name may not be consecutive, so I need to somehow define that within the range of the entire row to be deleted, any shape in that row should be deleted first, and then delete the row.
When there is a combobox, there is always a linked cell in column B, if that helps find the comboboxes . . .
Thank you in advance for your help
Every cell in column A will either be blank, or will have the text value "Yes"
I need a macro that can go through column A, and if any cell in column A = "Yes" delete all rows that meet that criteria. For exmaple if A2, A99, and A1002 = "yes", then delete rows 2, 99, and 1002.
Id like to learn how to best accomplish the above as a stand alone VBA, but to further complicate what I really need is the above +
In column B every cell will have a combobox, I need the deletion to also delete the combobox in the applicable rows.
Right now, if a user were to right click a row and delete, the combobox is not deleted.
Each combobox name may not be consecutive, so I need to somehow define that within the range of the entire row to be deleted, any shape in that row should be deleted first, and then delete the row.
When there is a combobox, there is always a linked cell in column B, if that helps find the comboboxes . . .
Thank you in advance for your help