Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

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.
doc crosshair highlight 1

Cross highlight active cell with VBA

Cross highlight active cell with Kutools for Excel good idea3


Reading Layout(cross highlight a cell )

doc layout

Enable you to do smarter, faster and better

Kutools - the best office productivity tool brings 300 advanced features to Excel. Details... Download...

Office Tab - brings tabbed interface to Excel and Word, make your work much easier. Details...Download...


Cross highlight active cell with VBA


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
doc crosshair highlight 2

3. Then save and close the VBA, and now when you active a cell, its relative row and column are highlighted.
doc crosshair highlight 3

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.


Cross highlight active cell with Kutools for Excel

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:
doc crosshair highlight 4

Note:

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:
doc crosshair highlight 5

Tip: This utility applies to the whole workbook.



Excel Productivity Tools

Kutools for Excel - The Best Office Productivity Tool

  • Brings 300 powerful advanced features to Excel, enable you to do smarter, faster and better.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Office Tab - brings tabbed interface to Office, make your work much easier.

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.