How to Select and Highlight a Row with a Keyboard Shortcut in Spreadsheets
Question details
The user wants to know how to quickly select an entire row in a spreadsheet or table and apply a highlight using keyboard shortcuts instead of the mouse.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Formatting data and navigating large tables efficiently without breaking typing workflow.
- Observed behavior
- Looking for the specific key combinations or automated methods to instantly select and highlight the current row.
Ensure your spreadsheet application is open and your active cursor is placed inside at least one cell of the row you intend to select and highlight.
Use Standard Keyboard Shortcuts (Shift + Space)
The most universal and fastest way to select and highlight a row in spreadsheet applications like WPS Spreadsheet and Microsoft Excel is by combining the row-selection shortcut with the ribbon formatting shortcut.
This method works seamlessly across most modern spreadsheet software. It involves two quick sequential steps: selecting the row and then applying the fill color.
Press `Shift + Spacebar` on your keyboard. This will instantly select the entire row where your current active cell is located.
Press the `Alt` key. This displays shortcut letters over the ribbon tabs at the top of your screen.
Press `H` to select the Home tab, and then press `H` again to drop down the Fill Color palette.
Use your keyboard's arrow keys to navigate to your preferred highlight color and press `Enter` to apply it to the selected row.
Automatically Highlight the Active Row using VBA
If you want the spreadsheet to automatically highlight whatever row you are currently working in without pressing a shortcut every time, you can apply a simple VBA macro.
Quickly Select and Highlight Rows in WPS Spreadsheet
WPS Spreadsheet fully supports standard keyboard shortcuts, making it incredibly easy to select entire rows, manage tables, and apply custom formatting without touching your mouse.
- 1. Open your file: Launch WPS Spreadsheet and open your document.
- 2. Navigate to the target cell: Use your arrow keys to move to any cell within the row you want to format.
- 3. Select the row: Press `Shift + Space` to select the entire row instantly.
- 4. Apply highlight: Use the Fill Color bucket icon on the Home tab to highlight your selected row.

Frequently Asked Questions
What is the keyboard shortcut to select an entire column instead of a row?
To select an entire column, place your cursor in the desired column and press `Ctrl + Space` on your keyboard.
Can I select and highlight multiple rows at once using shortcuts?
Yes. First, press `Shift + Space` to select a single row. Then, hold down the `Shift` key and press the `Up Arrow` or `Down Arrow` keys to expand your selection to adjacent rows before applying your highlight color.
Why isn't Shift + Space selecting the row on my Mac?
While `Shift + Space` is the standard shortcut in most spreadsheet apps on Mac, it may conflict with system-level macOS shortcuts. Check your Mac's Keyboard settings under System Settings > Keyboard > Shortcuts to ensure `Shift + Space` isn't assigned to another system action.
Is there a shortcut to remove the highlight from a row?
Select the highlighted row using `Shift + Space`, then press `Alt`, `H`, `H`, and select 'No Fill' (usually triggered by pressing `N`) to remove the background color.




