![]() |
|
#1
|
|||
|
|||
![]()
Hi All,
Is it possible to have a different highlighted colour on the headings i.e. when a cell is selected both the column letter and the row number to be say green. Best regards Dave R. |
#2
|
|||
|
|||
![]()
https://www.extendoffice.com/documen...nd-column.html
https://stackoverflow.com/questions/...hout-using-vba |
#3
|
|||
|
|||
![]()
Hi Logit,
Sorry I've not come back any earlier but had a lot on my plate etc..... Anyway, thanks for getting back, unfortunately the solutions offered not only highlight the row and column headings associated with the particular cell they also highlight the entire row and column. What I'm looking for is highlighting JUST the headings, for instance, cell C4 is selected, now I want the 'C' to be yellow say and the '4' also be yellow. Is that possible. I'm using Office 365 - Excel 2016 Best Rgds, Dave R. |
#4
|
|||
|
|||
![]()
.
I don't know of a way to accomplish your goal. I suspect, if it is possible at all, it would require using API calls which is above my knowledge level. Perhaps someone else will be able to assist. |
#5
|
||||
|
||||
![]()
I don't think you'll be able to change the existing highlighting in Excels row/column headers, but:
To apply this to row 1 and column 1 proceed as follows: Select the cells in row 1 that you want the colour to appear in, go into conditional formatting and use the formula: =COLUMN()=CELL("col") Choose the formatting you want to see, click OK. Select the cells in column 1 you want this to apply to, go into conditional formatting and use this formula: =ROW()=CELL("row") Choose the formatting you want to see, click OK. Finally, right click on that sheets tab and choose View Code, then paste the following where the cursor's flashing: Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range) Calculate End Sub |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
NNL | Word | 1 | 08-09-2017 02:52 PM |
Numbered headings not working as expected after customising headings | seanspotatobusiness | Word | 5 | 03-03-2017 04:44 AM |
![]() |
Fuzzyflo | Word | 1 | 07-26-2016 04:34 AM |
![]() |
spc94 | Word VBA | 1 | 06-09-2015 04:06 PM |
Headings | Metamag | Word | 5 | 04-16-2011 09:30 PM |