You could click on the row number that's one row
below the last row of data, then hold down the
shift key and tap the end key and then the down
arrow key. Right-click the selection and select
Hide. Do the same with the columns.
This won't be practical if your rows and columns
increase frequently.