I\'m trying to create a macro that selects the range of last row and last column.
macro
E.g. I want to select 1, 2, 3, 4 from my spreadsheet and then delete t
The simplest modification (to the code in your question) is this:
Range("A" & Rows.Count).End(xlUp).Select Selection.EntireRow.Delete
Which can be simplified to:
Range("A" & Rows.Count).End(xlUp).EntireRow.Delete