Sorry, I saw that you didn't want the formatting to change as the user moved away from the selected cell. For that, you can use conditional formatting and VBA. I'll try to detail the steps to do that below:
- Create a Named Range titled HiglightRow by going to Formulas > Named Manager
- In Name Manager, click New...
- In the Name: field, enter "HighlightRow"
- In the Refers to: field, enter "=11"
- Click OK
- Follow those steps to add a Named Range named "HighlightColumn" with a Refers to: of "=11"
Next, create some Conditional Formatting - this will retain the cell formats that you've created
- Select your range on the sheet
- Home > Conditional Formatting > New Rule
- Select the "Use a formula to determine which cells to format"
- Enter "=ROW(A1)=HighlightRow" in the formula field. Then click the Format... button
- In the Format dialog, set the formatting you'd like to see when you select the cell (e.g.; Fill of Yellow)
- Click OK to save the condition formatting
- Follow those steps to create another conditional formatting, this time setting the formula as "=COLUMN(A1) = HighlightColumn" and remember to give it the same formatting as the previous.
- Click OK to save the changes
- You can verify the ranges are correct by going to Home > Conditional Formatting > Manage Rules. Ensure the Applies to range encompasses your sheets complete range.
Then, in the sheet's module, add the following:
VBA Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With ThisWorkbook.Names("HighlightRow")
.Name = "HighlightRow"
.RefersToR1C1 = "=" & ActiveCell.Row
End With
With ThisWorkbook.Names("HighlightColumn")
.Name = "HighlightColumn"
.RefersToR1C1 = "=" & ActiveCell.Column - 1
End With
End Sub
And that should do it. Test by clicking through your sheet. If something isn't working, the formula for the conditional formatting may have been altered by Excel. Go back into Home > Conditional Formatting > Manage Rules and open the Row and Column rules you've created. Ensure the "=COLUMN(A1)" is still A1. Sometimes Excel changes this.