Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2018, 04:06 PM
PomDave PomDave is offline Headings Windows Vista Headings Office 2010 32bit
Advanced Beginner
Headings
 
Join Date: Sep 2011
Location: Australia
Posts: 43
PomDave is on a distinguished road
Default Headings

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.
Reply With Quote
  #2  
Old 08-05-2018, 09:06 AM
Logit Logit is offline Headings Windows 10 Headings Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

https://www.extendoffice.com/documen...nd-column.html

https://stackoverflow.com/questions/...hout-using-vba
Reply With Quote
  #3  
Old 08-23-2018, 04:22 AM
PomDave PomDave is offline Headings Windows Vista Headings Office 2010 32bit
Advanced Beginner
Headings
 
Join Date: Sep 2011
Location: Australia
Posts: 43
PomDave is on a distinguished road
Default

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.
Reply With Quote
  #4  
Old 08-23-2018, 07:38 AM
Logit Logit is offline Headings Windows 10 Headings Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

.
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.
Reply With Quote
  #5  
Old 08-24-2018, 06:16 AM
p45cal's Avatar
p45cal p45cal is offline Headings Windows 10 Headings Office 2016
Expert
 
Join Date: Apr 2014
Posts: 866
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Headings Applied Styles to Headings in Multi-Level List; now ALL second level headings are 1.XX 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
Headings Creating new styles and applying numbering to headings - numbering not following from headings Fuzzyflo Word 1 07-26-2016 04:34 AM
Headings VBA for Headings spc94 Word VBA 1 06-09-2015 04:06 PM
Headings Metamag Word 5 04-16-2011 09:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft