Hello,
I would like to be able to delete all rows in a spreadsheet based on a specified value in a selected column. I currently have a macro to delete a row based on specified cells but I'm not sure how to make it delete all rows with cells in a column EXCEPT a specified cell based on an input box. The one I have is based on .autofilter but I don't know if it has the capability to do what I need.
Basically I'd like to put the cell to preserve and it deletes all rows where that cell isn't in that column.
Can anyone point me in the right direction?
I would like to be able to delete all rows in a spreadsheet based on a specified value in a selected column. I currently have a macro to delete a row based on specified cells but I'm not sure how to make it delete all rows with cells in a column EXCEPT a specified cell based on an input box. The one I have is based on .autofilter but I don't know if it has the capability to do what I need.
Basically I'd like to put the cell to preserve and it deletes all rows where that cell isn't in that column.
Can anyone point me in the right direction?