To hide a column or a row we will be using the setColumnVisiblw and setRowVisible methods.
Steps to Complete:
Hide a column by setting setColumnVisible to false
Hide a row by setting setRowVisible to false
Hide a column by setting the visibility of the column to false using the setColumnVisible method.
This will hide columns B through:
Hide a row by setting the visibility of a row to false using the setRowVisible method.
This will hide rows 5 through 7: