Most of us working on excel and if we have a lot of data in excel then we need to guess in which cell we are working... here is one simple...

Most of us working on excel and if we have a lot of data in excel then we need to guess in which cell we are working...
here is one simple method.
Just copy the below code and open the excel sheet in which you want to highlight the text then click Alt+F11 or click on view code on the developer tab.
then paste in the Code view section of sheet1 or in the sheet in which you are working then save the file in XLSM or Xls format.
[Option ExplicitPrivate Sub Worksheet_SelectionChange(ByVal Target As Range)If Target.Cells.Count > 1 Then Exit SubApplication.ScreenUpdating = False' Clear the color of all the cellsCells.Interior.ColorIndex = 0With Target' Highlight the entire row and column that contain the active cell.EntireRow.Interior.ColorIndex = 6.EntireColumn.Interior.ColorIndex = 6End WithApplication.ScreenUpdating = TrueEnd Sub]
COMMENTS