I frequently import a specific data-set of text data into Excel. After I import the data, I need to delete the last line of data. Following is a cool macro to do this.
Range("A1").Select ‘Select cell A1
Selection.End(xlDown).Select ‘Press the END-DOWN keys to move to the last row of data
Selection.EntireRow.Delete ‘Delete that row