1. Open your Excel worksheet.2. Click the row to the above of the row(s) you want to freeze.3. Go to the View tab.4. Click Freeze Panes.5. Select Freeze Panes from the dropdown.6. Now, the selected rows will stay visible while scrolling.