How to quickly crosshair highlight active cell in Excel?
If there are multiple columns and rows data in a worksheet, have you imaged when you activate a cell, its relative column and row are highlighted? For example, click at F11, and the column F and row 11 are highlighted at the same time as below screenshot shown. Here this article, introduces the quick tricks can to help you crosshair highlight the active cell in Excel.
Reading Layout（cross highlight a cell )
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
In Excel, there is no built-in function can help you to crosshair highlight active cell, but here I introduce a VBA can help you to cross highlight the row and column of the active cell.
1. Press Alt + F11 keys to open Microsoft Visual Basic for Applications window.
2. Then in the Project pane, double click at the sheet you want to apply this VBA, and then copy and paste below VBA code to the right script. See screenshot:
Tip: If the Project pane is hidden, click View > Project Explorer in Microsoft Visual Basic for Applications window to display it.
VBA: Crosshair highlight active cell.
Private Sub Worksheet_SelectionChange(ByVal Target As Range) 'UpdatebyExtendoffice6/1/2016 Application.ScreenUpdating = False With Target .Worksheet.Cells.Interior.ColorIndex = 0 .EntireRow.Interior.Color = vbYellow .EntireColumn.Interior.Color = vbYellow End With Application.ScreenUpdating = True End Sub
3. Then save and close the VBA, and now when you active a cell, its relative row and column are highlighted.
If you want to highlight the active cell only, you can use the following VBA.
VBA: Highlight active cell you select
Private Sub Worksheet_SelectionChange(ByVal Target As Range) 'UpdatebyExtendoffice6/1/2016 Application.ScreenUpdating = False Target.Worksheet.Cells.Interior.ColorIndex = 0 Target.Interior.Color = vbYellow Application.ScreenUpdating = True End Sub
Note: In above VBA codes, the ColorIndex can change as you want.
If you are not familiar with VBA, you can try to apply Kutools for Excel’s Reading Layout utility to quickly crosshair highlight active cell.
|Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.|
After free installing Kutools for Excel, please do as below:
Click Kutools > Reading Layout to enable the Reading Layout utility. See screenshot:
1. Click Kutools > Reading Layout again to disable this utility.
2. Click Kutools > Reading Layout > Reading Layout Settings to specify the shapes, styles and colors as you need in the Reading Layout Settings dialog. See screenshot:
Tip: This utility applies to the whole workbook.