Hi everyone,
I am looking for a macro that will find and delete the last (blank) row in a table (It can look for a value in any table cell).
It gets tricky because I have two tables in one sheet and I need two individual macros for each table. I don't want macro to find any blank row, instead i want it to delete the very last row. When I write a macro it also deletes the very first row so i need this macro to stop at row 1 (not the header) but It can clear the content in row 1.
I need this macro to be table1 specific. I can probably figure out the macro for the second table.
Any help would be appreciated.
Thanks!
I am looking for a macro that will find and delete the last (blank) row in a table (It can look for a value in any table cell).
It gets tricky because I have two tables in one sheet and I need two individual macros for each table. I don't want macro to find any blank row, instead i want it to delete the very last row. When I write a macro it also deletes the very first row so i need this macro to stop at row 1 (not the header) but It can clear the content in row 1.
I need this macro to be table1 specific. I can probably figure out the macro for the second table.
Any help would be appreciated.
Thanks!