Crosshairs for quick cell location - temporary highlight columns and rows intersecting cell

L

Legacy 277976

Guest
Does anyone know a way to make excel show a "cross-hair" on the cell you have selected? Something that highlights the fill of the rows and the columns intersecting the cell you have last clicked on (nothing permanent, I don't want to be changing the fill of other cells), more as a means to make it easier to find where you are working quickly. In my case, I am quickly switching between two screens and multiple spreadsheets, the short period of time it takes to get re-oriented on the spreadsheet tends to add up and generally contribute to my workday malaise.

I know that by default Excel shows which row and column you have selected, but sometimes my spreadsheet is vast and my magnification is low and it's still hard to intuitively find the cell you are last working on. The latest version of SnagIt (the Screenshot Software) has a cool way of doing this where it presents crosshairs from the cursor and darkens everything on the screen excel for the box you left click, drag and draw. Publisher and Word do this to some degree but with the scaling lines on the margin rulers.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
I never heard of a cross hair shortcut; maybe there was a macro behind it...
 
Upvote 0
Yes

I came across this trick a couple years ago when searching for a similar solution. BTW, this solution does not effect the Undo Call Stack so you can still hit Undo/CTRL+Z UNlike other macros.

In the workbook module (ALT+F11) enter in this code:

Code:
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)

    Target.Calculate
    
End Sub

Save and then go back into the worksheet and go to the Conditional Formatting options and choose to enter a formula.

in the formula enter this: =ROW()=CELL("row") and then choose the desired formatting. Make sure this formula is applied to your entire range and make sure to absolute it.

Then enter another rule (via formula) and enter this formula =COLUMN()=CELL("col") and likewise set your desire formatting.

Similarly, you can also enter this code is just the specific worksheet module that where your data is instead of placing code in the This Workbook Module. For this option, choose the appropriate sheet module that your data is in and then use the macro code below.

Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
 Target.Calculate
End Sub
 
Upvote 0
Hey Worf,

Don't think so as most of the people at my old job were anti-macro back then. I was the first to start using macros to automate formating and sorting with macros back then. If I could have remembered what the key combo was I could have probably nailed it down, but that was 7 years ago.

later

Ty
 
Upvote 0

Forum statistics

Threads
1,215,330
Messages
6,124,307
Members
449,151
Latest member
JOOJ

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top